[gtk/fix-wayland-popups] wayland: Fix grabbing popup
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk/fix-wayland-popups] wayland: Fix grabbing popup
 
- Date: Sun, 20 Sep 2020 14:04:27 +0000 (UTC)
 
commit bb402a1f1d29657eb60b1cdf567b15fcb3b343d6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Sep 20 10:02:53 2020 -0400
    wayland: Fix grabbing popup
    
    A typo snuck into commit 3023a61e1d65bee1db3 that
    caused us to fail all grabbing popups with
    "grab failed: not viewable". Fix that.
 gdk/wayland/gdksurface-wayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 022ea2c762..e05fdc4b63 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2459,7 +2459,7 @@ gdk_wayland_surface_create_xdg_popup (GdkSurface     *surface,
   if (!impl->display_server.wl_surface)
     return FALSE;
 
-  if (!is_realized_shell_surface (impl))
+  if (!is_realized_shell_surface (parent_impl))
     return FALSE;
 
   if (is_realized_toplevel (impl))
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]