diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-02-22 20:08:37 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-02-22 20:08:37 +0100 |
commit | 71323a8b48f6f99798ca0090e1de76ad8e0a6cb3 (patch) | |
tree | 37fece51e2e08ae87327f452eb7abef5d3aacafe | |
parent | 3eea9f3e797d04c91028d7ae4a30c18bfbfc5872 (diff) | |
download | gtk+-71323a8b48f6f99798ca0090e1de76ad8e0a6cb3.tar.gz |
wayland/popup: Remove unnecessary checks when mapping popup
We only call this when we're not already mapped so don't check that. We
also only call this when we should be mapped so don't check that either.
-rw-r--r-- | gdk/wayland/gdksurface-wayland.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index 2174bdf72a..e4fdae3122 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -2697,12 +2697,6 @@ gdk_wayland_surface_map_popup (GdkSurface *surface, GdkSurface *parent; GdkWaylandSeat *grab_input_seat; - if (!should_be_mapped (surface)) - return; - - if (impl->mapped) - return; - parent = surface->parent; if (!parent) { |