[gtk/wip/carlosg/for-master: 1/6] gdk/wayland: Ensure to update input area on map




commit 80f5be8b13adcbc295737b48df8b59802cf9a383
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Nov 5 15:09:35 2020 +0100

    gdk/wayland: Ensure to update input area on map
    
    If a surface is hidden, then shown again, it should preserve the
    input area specified. Make sure that happens.

 gdk/wayland/gdksurface-wayland.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 0706db865d..df106ee6e3 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2798,6 +2798,7 @@ gdk_wayland_surface_hide_surface (GdkSurface *surface)
     }
 
   impl->has_uncommitted_ack_configure = FALSE;
+  impl->input_region_dirty = TRUE;
 
   unset_transient_for_exported (surface);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]