[Xfce4-commits] r23582 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Wed Nov 1 13:28:48 CET 2006
Author: olivier
Date: 2006-11-01 12:28:47 +0000 (Wed, 01 Nov 2006)
New Revision: 23582
Modified:
xfwm4/trunk/src/events.c
Log:
Do not raise on WM_TRANSIENT_FOR property change, fix bug #2483.
Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c 2006-11-01 12:27:47 UTC (rev 23581)
+++ xfwm4/trunk/src/events.c 2006-11-01 12:28:47 UTC (rev 23582)
@@ -1825,7 +1825,25 @@
if (clientCheckTransientWindow (c, w))
{
c->transient_for = w;
+#if 0
+ /*
+ Java 1.6 updates the WM_TRANSIENT_FOR properties "on-the-fly"
+ of its windows to maintain the z-order.
+
+ If we raise the transient then, we clearly have a race
+ condition between the WM and Java... And that breaks
+ the z-order. Bug #2483.
+
+ I still think that raising here makes sense, to ensure
+ that the newly promoted transient window is placed above
+ its parent.
+
+ Chances are that Java 1.6 won't change any time soon (heh,
+ it's not even released yet), so let's adjust the WM to
+ work with Java 1.6...
+ */
clientRaise (c, w);
+#endif
}
}
else if (ev->atom == display_info->atoms[WIN_HINTS])
More information about the Xfce4-commits
mailing list