xserver-multidpi/hw
Hans de Goede 4cfc2677f5 xwayland: Call xwl_window_check_resolution_change_emulation() on newly created O-R windows
Some clients, which use vidmode to change the resolution when going fullscreen,
create an override-redirect window and never trigger the screen->ResizeWindow
callback we rely on to do the xwl_window_check_resolution_change_emulation().

This causes us to not apply a viewport to them, causing the fullscreen window
to not fill the entire monitor.

This commit adds a call to xwl_window_check_resolution_change_emulation()
at the end of ensure_surface_for_window() to fix this. Note that
ensure_surface_for_window() exits early without creating an xwl_window
for new windows which will not be backed by a wayland surface and which
thus will not have an xwl_window.

This fixes ClanLib-0.6.x and alleggl-4.4.x using apps not properly
fullscreening.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-23 18:05:11 +01:00
..
dmx Fix building with -fno-common 2020-01-27 21:46:31 +00:00
kdrive Xephyr: Cast "red" to char* for xcb_aux_parse_color 2020-01-28 20:35:06 +00:00
vfb Revert https://gitlab.freedesktop.org/xorg/xserver/merge_requests/235 2019-10-14 12:48:24 +02:00
xfree86 Fix modesetting device matching through kmsdev device path 2020-02-12 21:29:52 +00:00
xnest mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
xquartz include: Remove now-empty site.h 2019-10-30 16:17:04 +00:00
xwayland xwayland: Call xwl_window_check_resolution_change_emulation() on newly created O-R windows 2020-02-23 18:05:11 +01:00
xwin XWin: Fix infinite loop in GetShift() 2019-12-12 04:54:46 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00