metacity r3650 - in trunk: . src/core



Author: tthurman
Date: Tue Mar 18 12:22:25 2008
New Revision: 3650
URL: http://svn.gnome.org/viewvc/metacity?rev=3650&view=rev

Log:
2008-03-18  Marco Pesenti Gritti  <mpgritti gmail com>

        * src/core/window.c (window_would_be_covered): newly created windows
	can't be considered to be above themselves; fixes bug #519188.



Modified:
   trunk/ChangeLog
   trunk/src/core/window.c

Modified: trunk/src/core/window.c
==============================================================================
--- trunk/src/core/window.c	(original)
+++ trunk/src/core/window.c	Tue Mar 18 12:22:25 2008
@@ -2009,7 +2009,7 @@
     { 
       MetaWindow *w = tmp->data;
 
-      if (w->wm_state_above)
+      if (w->wm_state_above && w != newbie)
         {
           /* We have found a window that is "above". Perhaps it overlaps. */
           if (windows_overlap (w, newbie))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]