xserver/hw
Hans de Goede d99b9ff0f2 xwayland: Add support for randr-resolution change emulation using viewport
Add support for per client randr-resolution change emulation using viewport,
for apps which want to change the resolution when going fullscreen.

Partly based on earlier work on this by Robert Mader <robert.mader@posteo.de>

Note SDL2 and SFML do not restore randr resolution when going from
fullscreen -> windowed, I believe this is caused by us still reporting the
desktop resolution when they query the resolution.  This is not a problem
because when windowed the toplevel window size includes the window-decorations
so it never matches the emulated resolution.

One exception would be the window being resizable in Windowed mode and the
user resizing the window so that including decorations it matches the
emulated resolution *and* the window being at pos 0x0. But this is an
extreme corner case. Still I will submit patches upstream to SDL2
and SFML to always restore the desktop resolution under Xwayland,
disabling resolution emulation all together when going windowed.

Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2019-10-12 12:19:14 +02:00
..
dmx Fix various spelling errors 2019-10-01 17:05:28 +00:00
kdrive Fix various spelling errors 2019-10-01 17:05:28 +00:00
vfb vfb: add DRI3/glamor support 2019-10-11 12:03:42 +00:00
xfree86 glamor_egl: disable modifiers via glamor_init() 2019-10-11 12:03:42 +00:00
xnest Add ddxInputThread call from os layer into ddx layer 2019-02-25 15:48:03 +00:00
xquartz XQuartz: translate additional mouse buttons 2019-08-24 00:57:02 +00:00
xwayland xwayland: Add support for randr-resolution change emulation using viewport 2019-10-12 12:19:14 +02:00
xwin hw/xwin: Add -icon option to set the screen window icon in windowed mode 2019-09-18 19:11:45 +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