diff options
Diffstat (limited to 'src/xinerama.c')
-rw-r--r-- | src/xinerama.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xinerama.c b/src/xinerama.c index 51d51b3..cfa6efb 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -47,7 +47,7 @@ init_xinerama(void) return; } - if (!XineramaQueryVersion(dpy, &major, &minor) != Success) { + if (XineramaQueryVersion(dpy, &major, &minor) == 0) { return; } |