[gtk/wip/carlosg/map-emulated-moveresize-window] gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/carlosg/map-emulated-moveresize-window] gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use
- Date: Fri, 7 May 2021 13:53:30 +0000 (UTC)
commit 081e127377b75cf8c27d92237d1bb971f80f8623
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri May 7 15:51:52 2021 +0200
gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use
Otherwise, we don't deem it as able to be grabbed, which we intend to do
immediately after.
gdk/x11/gdksurface-x11.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index fd5dabeaa1..6fb6c96616 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -4376,6 +4376,7 @@ create_moveresize_surface (MoveResizeData *mv_resize,
NULL,
-100, -100, 1, 1);
+ gdk_surface_set_is_mapped (mv_resize->moveresize_emulation_surface, TRUE);
gdk_x11_surface_show (mv_resize->moveresize_emulation_surface, FALSE);
status = gdk_seat_grab (gdk_device_get_seat (mv_resize->device),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]