Alex Goins
8eeff5d788
randr: Check rrPrivKey in RRHasScanoutPixmap()
...
RRHasScanoutPixmap() is called from xf86CheckHWCursor(), regardless of whether
or not RandR has been initialized.
As mentioned in commit 4226c6d , it's possible that RandR has not been
initialized if the server is configured with Xinerama and there is more than one
X screen. Calling rrGetScrPriv when RandR isn't initialized causes an assertion
failure that aborts the server:
Xorg: ../include/privates.h:121: dixGetPrivateAddr: Assertion
key->initialized' failed.
Just as in commit 4226c6d , fix the problem by checking
dixPrivateKeyRegistered(rrPrivKey) before calling rrGetScrPriv.
Signed-off-by: Alex Goins <agoins@nvidia.com>
2020-07-21 15:53:53 +00:00
..
Makefile.am
Add RandR leases with modesetting driver support [v6]
2018-02-27 12:39:50 -05:00
meson.build
meson: Distribute more SDK headers
2018-04-02 13:42:08 -04:00
randr.c
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
randrstr.h
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
rrcrtc.c
randr: Check rrPrivKey in RRHasScanoutPixmap()
2020-07-21 15:53:53 +00:00
rrdispatch.c
Add RandR leases with modesetting driver support [v6]
2018-02-27 12:39:50 -05:00
rrinfo.c
Convert top level extensions to new *allocarray functions
2015-04-21 16:57:08 -07:00
rrlease.c
During reset/shutdown, clean up leases in DIX instead of each driver
2018-08-02 10:15:26 -04:00
rrmode.c
Add RandR leases with modesetting driver support [v6]
2018-02-27 12:39:50 -05:00
rrmonitor.c
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
rroutput.c
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
rrpointer.c
randr: Fix logic in RRPointerToNearestCrtc
2014-07-30 14:40:17 -07:00
rrproperty.c
Add RandR leases with modesetting driver support [v6]
2018-02-27 12:39:50 -05:00
rrprovider.c
randr: Check rrPrivKey before autobinding GPU screens
2020-07-21 15:53:53 +00:00
rrproviderproperty.c
Convert top level extensions to new *allocarray functions
2015-04-21 16:57:08 -07:00
rrscreen.c
xserver/output: rename some badly named variables/APIs.
2020-07-10 06:17:44 +10:00
rrsdispatch.c
Add RandR leases with modesetting driver support [v6]
2018-02-27 12:39:50 -05:00
rrtransform.c
randr: Silence -Wshift-negative-value warnings
2015-10-19 11:51:52 -04:00
rrtransform.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
rrxinerama.c
dispatch: Mark swapped dispatch as _X_COLD
2017-03-01 10:16:20 -05:00