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 17a799aeb2
commit 081e127377

View File

@ -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),