summaryrefslogtreecommitdiffstats
path: root/src/newt/native/X11Window.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-04 15:39:00 +0200
committerSven Gothel <[email protected]>2013-07-04 15:39:00 +0200
commit5b81a51c1f695b0e0750ec47149216e26b8ed14b (patch)
tree308676abdacc791b7b30d00efc31fbf0e4810481 /src/newt/native/X11Window.c
parentfa6e868a72b8fb3de8c96afbd71ab4d3ad33f6b6 (diff)
X11Window FullScreen: Toggle _NET_WM_BYPASS_COMPOSITOR not only for ABOVE .. but also for FULLSCREEN WM state.
Diffstat (limited to 'src/newt/native/X11Window.c')
-rw-r--r--src/newt/native/X11Window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c
index 4a95d0180..e6e300d2e 100644
--- a/src/newt/native/X11Window.c
+++ b/src/newt/native/X11Window.c
@@ -388,8 +388,8 @@ static Bool NewtWindows_setStackingEWMHFlags (Display *dpy, Window root, Window
XSendEvent ( dpy, root, False, mask, &xev );
}
- // If ABOVE is changed, also change _NET_WM_BYPASS_COMPOSITOR!
- if( changeAbove ) {
+ // Also change _NET_WM_BYPASS_COMPOSITOR!
+ {
Atom _NET_WM_BYPASS_COMPOSITOR = XInternAtom( dpy, "_NET_WM_BYPASS_COMPOSITOR", False );
unsigned long value = enable ? 1 : 0;
XChangeProperty( dpy, w, _NET_WM_BYPASS_COMPOSITOR, XA_CARDINAL, 32, PropModeReplace, (unsigned char*)&value, 1);