diff options
author | infirit <[email protected]> | 2014-10-24 12:52:46 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-24 15:40:43 +0200 |
commit | 13741f524e5f8b780a96872f534237186fa78741 (patch) | |
tree | 52e6a4e0199b33b43c9bf77f81a97edb216e2738 /src/core/effects.c | |
parent | bcbc109d2801e2c8898ebb558febe99945358d53 (diff) | |
download | marco-13741f524e5f8b780a96872f534237186fa78741.tar.bz2 marco-13741f524e5f8b780a96872f534237186fa78741.tar.xz |
Fix identification of CSD windows when checking whether to force fullscreen
We try to exempt CSD windows from being forced fullscreen if they are
undecorated and the size of the screen; however, we also catch almost
all windows that *do* need to be forced fullscreen in this check, since
they also have decorations turned off.
Identify actual CSD windows by checking whether _GTK_FRAME_EXTENTS is set -
GTK+ will always set this on CSD windows even if they have no invisible
borders or shadows at the current time.
Based on metacity commit: 41dd72bc5dd08d7d0cb136f694a6d9a30e38b341
From: Owen W. Taylor <[email protected]>
Metacity gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=723029
Diffstat (limited to 'src/core/effects.c')
0 files changed, 0 insertions, 0 deletions