summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-31 13:01:46 -0700
committerKeith Packard <keithp@keithp.com>2013-10-31 16:58:23 -0700
commit264fc3abe5f18341d0cf9ddb6766e10e4154e447 (patch)
treee0757c2363124ec56e5715ff4a6d18bd25e808dc /miext
parent2d96948ab5c952b68875ac63844cf7d778d4bf63 (diff)
misync: Don't smash custom screen sync functions
There was a check to avoid smashing custom functions, but the sense was backwards causing it to always smash them, and also not set them otherwise. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'miext')
-rw-r--r--miext/sync/misync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/sync/misync.c b/miext/sync/misync.c
index b6914d18d..f38054754 100644
--- a/miext/sync/misync.c
+++ b/miext/sync/misync.c
@@ -190,7 +190,7 @@ miSyncSetup(ScreenPtr pScreen)
pScreenPriv = SYNC_SCREEN_PRIV(pScreen);
- if (pScreenPriv->funcs.CreateFence) {
+ if (!pScreenPriv->funcs.CreateFence) {
pScreenPriv->funcs = miSyncScreenFuncs;
/* Wrap CloseScreen to clean up */