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.
This commit is contained in:
Carlos Garnacho
2021-05-07 15:51:52 +02:00
parent ba44668478
commit b6a4ffef36

View File

@@ -4374,6 +4374,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),