diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-04-09 03:33:24 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-04-09 03:33:24 +0000 |
commit | ad7dc0e87f66bc90c2d3a7453ecbf34abe0a17dc (patch) | |
tree | 6f074e39f59f8dd18253df4dfe54f73ac472fa96 /gdk/gdkdnd.c | |
parent | 2a2323d64ee31e48832a4f4abd7b6bed916897eb (diff) | |
download | gtk+-ad7dc0e87f66bc90c2d3a7453ecbf34abe0a17dc.tar.gz |
When setting up the drag cursor as a shaped window, make sure to hide the previous drag shaped windows.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r-- | gdk/gdkdnd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index b29bbcf2fd..2dca54a8b7 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -45,9 +45,15 @@ gdk_dnd_set_drag_shape(GdkWindow *default_pixmapwin, g_list_free(gdk_dnd.c->xids); gdk_dnd.c->xids = NULL; if(gdk_dnd.c->drag_pm_default) - gdk_window_unref(gdk_dnd.c->drag_pm_default); + { + gdk_window_hide(gdk_dnd.c->drag_pm_default); + gdk_window_unref(gdk_dnd.c->drag_pm_default); + } if(gdk_dnd.c->drag_pm_ok) - gdk_window_unref(gdk_dnd.c->drag_pm_ok); + { + gdk_window_hide(gdk_dnd.c->drag_pm_ok); + gdk_window_unref(gdk_dnd.c->drag_pm_ok); + } gdk_dnd.c->drag_pm_ok = NULL; |