Author: rhult
Date: Sun Feb 17 10:01:52 2008
New Revision: 19604
URL: http://svn.gnome.org/viewvc/gtk+?rev=19604&view=rev

Log:
2008-02-17  Richard Hult  <[EMAIL PROTECTED]>

        * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
        (_gdk_quartz_window_detach_from_parent),
        (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
        the toplevel ordering list in all places where the order is
        potentially changed. Fixes mouse focus issues for windows with
        a transient parent set.


Modified:
   trunk/ChangeLog
   trunk/gdk/quartz/gdkwindow-quartz.c

Modified: trunk/gdk/quartz/gdkwindow-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkwindow-quartz.c (original)
+++ trunk/gdk/quartz/gdkwindow-quartz.c Sun Feb 17 10:01:52 2008
@@ -1078,6 +1078,7 @@
                   private->window_type != GDK_WINDOW_TEMP);
 
       [(GdkQuartzWindow*)impl->toplevel showAndMakeKey:make_key];
+      clear_toplevel_order ();
     }
   else
     {
@@ -1123,6 +1124,7 @@
 
       parent_impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT 
(impl->transient_for)->impl);
       [parent_impl->toplevel removeChildWindow:impl->toplevel];
+      clear_toplevel_order ();
     }
 }
 
@@ -1144,6 +1146,7 @@
 
       parent_impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT 
(impl->transient_for)->impl);
       [parent_impl->toplevel addChildWindow:impl->toplevel 
ordered:NSWindowAbove];
+      clear_toplevel_order ();
     }
 }
 
@@ -2311,6 +2314,7 @@
         {
           GDK_QUARTZ_ALLOC_POOL;
           [impl->toplevel makeKeyAndOrderFront:impl->toplevel];
+          clear_toplevel_order ();
           GDK_QUARTZ_RELEASE_POOL;
         }
     }
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to