summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2010-02-18 22:25:18 -0600
committerJon Turney <jon.turney@dronecode.org.uk>2016-11-17 13:15:44 +0000
commitde245550db8af34aca962ca6353e34887e62773f (patch)
tree429f74c1406991b43a385bb024ccb2917a4f05a5
parent41c779c862b1d6ec81f772207c861b80c2a6c017 (diff)
Xming: Fix the annoying menu/tooltip punch-through problem in -multiwindow mode.
http://sourceware.org/bugzilla/show_bug.cgi?id=9929 Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/winmultiwindowwndproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xwin/winmultiwindowwndproc.c b/hw/xwin/winmultiwindowwndproc.c
index 3f47fec65..952620d12 100644
--- a/hw/xwin/winmultiwindowwndproc.c
+++ b/hw/xwin/winmultiwindowwndproc.c
@@ -1044,6 +1044,8 @@ winTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if (!hasEnteredSizeMove) {
/* Adjust the X Window to the moved Windows window */
winAdjustXWindow(pWin, hwnd);
+ if (wParam == SIZE_MINIMIZED)
+ winReorderWindowsMultiWindow();
}
/* else: wait for WM_EXITSIZEMOVE */
return 0; /* end of WM_SIZE handler */