summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkhandlebox.c')
-rw-r--r--gtk/gtkhandlebox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index aa31060f5c..9611d12de6 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -1094,6 +1094,7 @@ gtk_handle_box_motion (GtkWidget *widget,
gint snap_edge;
gboolean is_snapped = FALSE;
gint handle_position;
+ GdkGeometry geometry;
hb = GTK_HANDLE_BOX (widget);
if (!hb->in_drag)
@@ -1260,7 +1261,7 @@ gtk_handle_box_motion (GtkWidget *widget,
gdk_window_move_resize (hb->float_window, new_x, new_y, width, height);
gdk_window_reparent (hb->bin_window, hb->float_window, 0, 0);
- gdk_window_set_hints (hb->float_window, new_x, new_y, 0, 0, 0, 0, GDK_HINT_POS);
+ gdk_window_set_geometry_hints (hb->float_window, &geometry, GDK_HINT_POS);
gdk_window_show (hb->float_window);
hb->float_window_mapped = TRUE;
#if 0