[gtk+/gtk-2-16] Make GtkHandleBox work on multiple displays



commit 00524901e1393618e469dd9a8f224401b8ba7e35
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 3 22:27:12 2009 -0400

    Make GtkHandleBox work on multiple displays
---
 gtk/gtkhandlebox.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index d376248..2215689 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -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);



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