summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-12-27 15:41:10 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-12-27 15:41:10 +0000
commit1bf23fa64324bfe8fae6b80347996338ad4187e9 (patch)
tree52ed7bb2dbf72dff1eccd4cda24a57a6c07c02b3
parent36780ba7c45e30d1446f93d4428eb7d0879177d5 (diff)
Bug #1945: Stop unnecessary reordering. (Kensuke Matsuzaki)
-rw-r--r--hw/xwin/ChangeLog5
-rw-r--r--hw/xwin/winmultiwindowwindow.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog
index 5cdbb70e4..a69bd37b2 100644
--- a/hw/xwin/ChangeLog
+++ b/hw/xwin/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-27 Alexander Gottwald <ago at freedesktop dot org>
+
+ * winmultiwindowwindow.c:
+ Bug #1945: Stop unnecessary reordering. (Kensuke Matsuzaki)
+
2004-12-14 Alexander Gottwald <ago at freedesktop dot org>
* InitOutput.c:
diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c
index 1c5e2fbbf..5034ec0d6 100644
--- a/hw/xwin/winmultiwindowwindow.c
+++ b/hw/xwin/winmultiwindowwindow.c
@@ -394,7 +394,8 @@ winRestackWindowMultiWindow (WindowPtr pWin, WindowPtr pOldNextSib)
* Calling winReorderWindowsMultiWindow here means our window manager
* (i.e. Windows Explorer) has initiative to determine Z order.
*/
- winReorderWindowsMultiWindow ();
+ if (pWin->nextSib != pOldNextSib)
+ winReorderWindowsMultiWindow ();
#else
/* Bail out if no window privates or window handle is invalid */
if (!pWinPriv || !pWinPriv->hWnd)