[Vm-dev] [commit][3546] Merge from oscog:

commits at squeakvm.org commits at squeakvm.org
Sat Dec 19 02:58:36 UTC 2015


Revision: 3546
Author:   lewis
Date:     2015-12-18 18:58:35 -0800 (Fri, 18 Dec 2015)
Log Message:
-----------
Merge from oscog:

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 Paths:
--------------
    trunk/platforms/unix/vm-display-X11/sqUnixX11.c

Modified: trunk/platforms/unix/vm-display-X11/sqUnixX11.c
===================================================================
--- trunk/platforms/unix/vm-display-X11/sqUnixX11.c	2015-12-18 22:31:23 UTC (rev 3545)
+++ trunk/platforms/unix/vm-display-X11/sqUnixX11.c	2015-12-19 02:58:35 UTC (rev 3546)
@@ -4030,7 +4030,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);
 }
 
 



More information about the Vm-dev mailing list