• Owen W. Taylor's avatar
    Omit shadows for fullscreen and maximized windows · 8b24711b
    Owen W. Taylor authored
    Fullscreen and maximized windows never have visible shadows - the only
    case where we would ever see them is if they bleed onto an adjacent
    monitor and that looks bad.
    
    It's small performance win to avoid computing them, and this also avoids
    painting the top shadow for all maximized windows in GNOME Shell - since
    the top panel isn't a X window, it doesn't factor into the computation
    of what parts of windows are visible and maximized windows are computed
    as having a top shadow.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=592382
    8b24711b
meta-window-actor.c 59.7 KB