xserver-multidpi/hw
Alex Goins 3ef9029ace modesetting: Fix ms_covering_crtc() segfault with non-modesetting slave primary
ms_covering_crtc() uses RRFirstOutput() to determine a primary output to fall
back to if a drawable is overlapping a slave output.

If the primary output is a slave output, RRFirstOutput() will return a slave
output even if passed a master ScreenPtr. ms_covering_crtc() dereferences the
output's devPrivate, which is invalid for non-modesetting outputs, and can
crash.

Changing RRFirstOutput() could have unintended side effects for other callers,
so this change replaces the call to RRFirstOutput() with ms_first_output().
ms_first_output() ignores the primary output if it doesn't match the given
ScreenPtr, choosing the first connected output instead.

Signed-off-by: Alex Goins <agoins@nvidia.com>
2019-11-11 14:35:57 -08:00
..
dmx dmx: Stop overriding the vendor string 2019-10-30 16:17:04 +00:00
kdrive Fix various spelling errors 2019-10-01 17:05:28 +00:00
vfb Revert https://gitlab.freedesktop.org/xorg/xserver/merge_requests/235 2019-10-14 12:48:24 +02:00
xfree86 modesetting: Fix ms_covering_crtc() segfault with non-modesetting slave primary 2019-11-11 14:35:57 -08: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: Cosmetic, fix indentation 2019-11-08 10:54:55 +01: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