[gtk/wip/matthiasc/popup4: 112/115] wayland: Remove a mistaken check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 112/115] wayland: Remove a mistaken check
- Date: Wed, 24 Apr 2019 19:40:01 +0000 (UTC)
commit a1c46fce150a0c95f57fc38b33aa3047cc2dd87a
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 24 04:38:13 2019 +0000
wayland: Remove a mistaken check
This was preventing non-grabbing popups to appear
next to each other, which is perfectly legal.
gdk/wayland/gdksurface-wayland.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index bf553670c1..69730277e1 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2155,14 +2155,6 @@ gdk_wayland_surface_create_xdg_popup (GdkSurface *surface,
g_warning ("Can't map popup, already mapped");
return;
}
- if ((display->current_popups &&
- g_list_last (display->current_popups)->data != parent) ||
- (!display->current_popups &&
- !is_realized_toplevel (parent)))
- {
- g_warning ("Tried to map a popup with a non-top most parent");
- return;
- }
gdk_surface_freeze_updates (surface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]