surface/wayland: Handle no current monitor when calculating bounds
authorJonas Ådahl <jadahl@gmail.com>
Fri, 30 Sep 2022 07:30:30 +0000 (09:30 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 30 Sep 2022 07:31:40 +0000 (09:31 +0200)
commit148c1336745a043a9660da6c4734ed905c628130
treef1c57de49a1912aee72df9a26a2170417135323a
parentd2c9cbba4fdc369bd90cb450f30386a944f2dec6
surface/wayland: Handle no current monitor when calculating bounds

We shouldn't assume there is always a monitor to derive bounds from.
If there is no monitor, pass empty bounds, as this matches what
xdg_toplevel.configure_bounds do in this case.
gdk/wayland/gdksurface-wayland.c