[gtk/gtk-3-24: 2/3] Do not require an initial configure for DnD windows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 2/3] Do not require an initial configure for DnD windows
- Date: Sun, 5 Apr 2020 19:11:58 +0000 (UTC)
commit 5a52af20cba76474e631b2a7548963bcad22d66d
Author: William Wold <wm wmww sh>
Date: Sun Apr 5 07:11:45 2020 -0400
Do not require an initial configure for DnD windows
Fixes #2075
gdk/wayland/gdkwindow-wayland.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 5f39c5771c..04506508f3 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1089,6 +1089,8 @@ needs_initial_configure (GdkWindow *window)
return FALSE;
else if (impl->use_custom_surface)
return FALSE;
+ else if (impl->hint == GDK_WINDOW_TYPE_HINT_DND)
+ return FALSE;
else if (is_realized_toplevel (window))
return TRUE;
else if (is_realized_popup (window))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]