gtk+ r20807 - in branches/gtk-2-12: . gdk/win32



Author: bratsche
Date: Mon Jul  7 22:06:15 2008
New Revision: 20807
URL: http://svn.gnome.org/viewvc/gtk+?rev=20807&view=rev

Log:
2008-07-07  Cody Russell  <bratsche gnome org>

	Bug 540994 â [Win32] Some windows don't appear at the top when created

        * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.



Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gdk/win32/gdkwindow-win32.c

Modified: branches/gtk-2-12/gdk/win32/gdkwindow-win32.c
==============================================================================
--- branches/gtk-2-12/gdk/win32/gdkwindow-win32.c	(original)
+++ branches/gtk-2-12/gdk/win32/gdkwindow-win32.c	Mon Jul  7 22:06:15 2008
@@ -3578,9 +3578,14 @@
 #else
 
   if (modal)
-    _gdk_push_modal_window (window);
+    {
+      _gdk_push_modal_window (window);
+      gdk_window_raise (window);
+    }
   else
-    _gdk_remove_modal_window (window);
+    {
+      _gdk_remove_modal_window (window);
+    }
 
 #endif
 }



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