diff options
-rw-r--r-- | src/Xinerama.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Xinerama.c b/src/Xinerama.c index fa2b197..eff7633 100644 --- a/src/Xinerama.c +++ b/src/Xinerama.c @@ -307,12 +307,11 @@ XineramaQueryScreens( *number = rep.number; } else _XEatData(dpy, rep.length << 2); + } else { + *number = 0; } UnlockDisplay (dpy); SyncHandle (); return scrnInfo; } - - - |