diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-05-03 22:27:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-05-03 22:27:12 -0400 |
commit | 3dc395ad4ee13eecf8b9b494e78df41b3b7647a5 (patch) | |
tree | ed2470d7b54cbe45ce63fc0156989747a79f913f /gtk | |
parent | 6aa63385789fd28e61eb4de05312e2f1316cf6d0 (diff) | |
download | gtk+-3dc395ad4ee13eecf8b9b494e78df41b3b7647a5.tar.gz |
Make GtkHandleBox work on multiple displays
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkhandlebox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index d376248428..2215689567 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); |