]> Pileus Git - ~andy/gtk/commitdiff
Make GtkHandleBox work on multiple displays
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 May 2009 02:27:12 +0000 (22:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 May 2009 02:27:12 +0000 (22:27 -0400)
gtk/gtkhandlebox.c

index d37624842872c1a67ee95c53df6b1712ff49a565..22156895672347ab18b5c52ab3eca520164335cc 100644 (file)
@@ -1079,6 +1079,7 @@ gtk_handle_box_button_press (GtkWidget      *widget,
              gint root_x, root_y;
              gint width, height;
 
+              gtk_invisible_set_screen (GTK_INVISIBLE (invisible), gtk_widget_get_screen (hb));
              gdk_window_get_deskrelative_origin (hb->bin_window, &desk_x, &desk_y);
              gdk_window_get_origin (hb->bin_window, &root_x, &root_y);
              gdk_drawable_get_size (hb->bin_window, &width, &height);