Skip to content
Commit 2ccea152 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Adam Jackson
Browse files

xwayland: Update root window size when desktop size changes



This fixes grabs on InputOnly windows whose parent is the root window
failing with GrabNotViewable. This is due to window->borderSize/windowSize
being computed as clipped by its parent, resulting in a null region.

Setting up the right size on the root window makes the InputOnly size
correct too, so the GrabNotViewable paths aren't hit anymore.

Signed-off-by: default avatarCarlos Garnacho <carlosg@gnome.org>
Acked-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 513e3bd3)
parent 0e5b08f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment