mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
randr: fix prime sync atom not created correctly
The commit 30cec78 incorrectly changed RRInitPrimeSyncProps to not
create the atom if it doesn't exist.
Signed-off-by: dec05eba <dec05eba@protonmail.com>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -275,7 +275,7 @@ RRInitPrimeSyncProps(ScreenPtr pScreen)
|
||||
rrScrPrivPtr pScrPriv = rrGetScrPriv(pScreen);
|
||||
|
||||
const char *syncStr = PRIME_SYNC_PROP;
|
||||
Atom syncProp = dixGetAtomID(syncStr);
|
||||
Atom syncProp = dixAddAtom(syncStr);
|
||||
|
||||
int defaultVal = TRUE;
|
||||
INT32 validVals[2] = {FALSE, TRUE};
|
||||
|
||||
Reference in New Issue
Block a user