[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winmultiwindowwm.c, 1.1.4.1.2.10, 1.1.4.1.2.11

Earle Philhower xorg-commit at pdx.freedesktop.org
Wed Mar 31 23:16:33 PST 2004


Committed by: earle

Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv32374

Modified Files:
      Tag: CYGWIN
	winmultiwindowwm.c 
Log Message:
When a WM_WM_ACTIVATE occurs, reorder the X stack to match the Win32 stack, fixes X-mouse and right-click-menu raising.


Index: winmultiwindowwm.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winmultiwindowwm.c,v
retrieving revision 1.1.4.1.2.10
retrieving revision 1.1.4.1.2.11
diff -u -d -r1.1.4.1.2.10 -r1.1.4.1.2.11
--- a/winmultiwindowwm.c	25 Mar 2004 12:43:39 -0000	1.1.4.1.2.10
+++ b/winmultiwindowwm.c	1 Apr 2004 07:16:29 -0000	1.1.4.1.2.11
@@ -729,6 +729,9 @@
 			  pNode->msg.iWindow,
 			  RevertToPointerRoot,
 			  CurrentTime);
+
+          /* Restack the X windows, the Win32 order has changed */
+          winReorderWindowsMultiWindow();
 	  break;
 
 	case WM_WM_NAME_EVENT:




More information about the xorg-commit-diffs mailing list