xserver-multidpi/hw
Hans de Goede 5315f988d9 xwayland: Set _XWAYLAND_RANDR_EMU_MONITOR_RECTS property for resolution emulation
Apps using randr to change the resolution when going fullscreen, in
combination with _NET_WM_STATE_FULLSCREEN to tell the window-manager (WM)
to make their window fullscreen, expect the WM to give the fullscreen window
the size of the emulated resolution as would happen when run under Xorg (*).

We need the WM to emulate this behavior for these apps to work correctly,
with Xwaylands resolution change emulation. For the WM to emulate this,
it needs to know about the emulated resolution for the Windows owning
client for each monitor.

This commit adds a _XWAYLAND_RANDR_EMU_MONITOR_RECTS property, which
contains 4 Cardinals (32 bit integers) per monitor with resolution
emulation info. Window-managers can use this to get the emulated
resolution for the client and size the window correctly.

*) Since under Xorg the resolution will actually be changed and after that
going fullscreen through NET_WM_STATE_FULLSCREEN will size the window to
be equal to the new resolution.

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: Set _XWAYLAND_RANDR_EMU_MONITOR_RECTS property for resolution emulation 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