Revision: 3545 Author: rowledge Date: 2015-12-18 14:31:23 -0800 (Fri, 18 Dec 2015) Log Message: ----------- Add tweak to XSendEvent call that handles going fullscreen, per Nicolai Hess suggestion
Modified Paths: -------------- branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c
Modified: branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c =================================================================== --- branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c 2015-12-17 17:50:55 UTC (rev 3544) +++ branches/Cog/platforms/unix/vm-display-X11/sqUnixX11.c 2015-12-18 22:31:23 UTC (rev 3545) @@ -5132,7 +5132,7 @@ xev.xclient.data.l[0] = enable; /* 1 enable, 0 disable fullscreen */ xev.xclient.data.l[1] = fullscreen; xev.xclient.data.l[2] = 0; - XSendEvent(stDisplay, DefaultRootWindow(stDisplay), False, SubstructureNotifyMask, &xev); + XSendEvent(stDisplay, DefaultRootWindow(stDisplay), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev); }
vm-dev@lists.squeakfoundation.org