weston/libweston-desktop
Philipp Kerling c623902eca
libweston-desktop/xdg-shell: Check window geometry instead of surface size against configured size
Shell surfaces may have a geometry that is different to the size of
their main surface, e.g. due to subcompositing.

In states where size is strictly enforced (fullscreen and maximized),
the size that the compositor wants must be checked against the window
geometry and not just the main surface size.

Fix by calling weston_desktop_surface_get_geometry and using that size
instead of main surface size.

Signed-off-by: Philipp Kerling <pkerling@casix.org>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-26 16:46:13 +02:00
..
client.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.c libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
surface.c libweston-desktop: don't crash when getting the pid for X clients 2016-12-08 11:58:18 +01:00
wl-shell.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
xdg-shell-v5.c libweston-desktop/xdg-shell: Check window geometry instead of surface size against configured size 2017-07-26 16:46:13 +02:00
xdg-shell-v6.c libweston-desktop/xdg-shell: Check window geometry instead of surface size against configured size 2017-07-26 16:46:13 +02:00
xwayland.c xwm: update override-redirect surface's position upon configure_notify 2017-07-21 17:38:01 +02:00