mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Make drops on the root window work again. (#145243, Andrew S. Dixon)
2006-02-02 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): Make drops on the root window work again. (#145243, Andrew S. Dixon)
This commit is contained in:
parent
32690cf693
commit
afab67f99a
@ -1,3 +1,8 @@
|
||||
2006-02-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
|
||||
Make drops on the root window work again. (#145243, Andrew S. Dixon)
|
||||
|
||||
2006-02-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Wrap dnd signal
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-02-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
|
||||
Make drops on the root window work again. (#145243, Andrew S. Dixon)
|
||||
|
||||
2006-02-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Wrap dnd signal
|
||||
|
@ -3035,7 +3035,13 @@ _gdk_drag_get_protocol_for_display (GdkDisplay *display,
|
||||
GDK_NOTE (DND, g_message ("Entering local Xdnd window %#x\n", xid));
|
||||
return xid;
|
||||
}
|
||||
else
|
||||
else if (_gdk_x11_display_is_root_window (display, (Window) xid))
|
||||
{
|
||||
*protocol = GDK_DRAG_PROTO_ROOTWIN;
|
||||
GDK_NOTE (DND, g_message ("Entering root window\n"));
|
||||
return xid;
|
||||
}
|
||||
|
||||
return None;
|
||||
}
|
||||
|
||||
@ -3103,6 +3109,7 @@ _gdk_drag_get_protocol_for_display (GdkDisplay *display,
|
||||
|
||||
if (rootwin)
|
||||
{
|
||||
GDK_NOTE (DND, g_message ("Entering root window\n"));
|
||||
*protocol = GDK_DRAG_PROTO_ROOTWIN;
|
||||
return xid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user