forked from AuroraMiddleware/gtk
win32: dnd should not be registerd for offscreen windows
https://bugzilla.gnome.org/show_bug.cgi?id=616544
This commit is contained in:
parent
05e982a11a
commit
86b8a1ddc8
@ -2368,6 +2368,9 @@ _gdk_win32_window_register_dnd (GdkWindow *window)
|
||||
|
||||
g_return_if_fail (window != NULL);
|
||||
|
||||
if (gdk_window_get_window_type (window) == GDK_WINDOW_OFFSCREEN)
|
||||
return;
|
||||
|
||||
if (g_object_get_data (G_OBJECT (window), "gdk-dnd-registered") != NULL)
|
||||
return;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user