about summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 70ee0db..7235082 100644
--- a/screen.c
+++ b/screen.c
@@ -83,7 +83,7 @@ screen_init_xinerama(struct screen_ctx *sc)
 	if (info == NULL) {
 		/*is xinerama is actually off, instead of a malloc failure? */
 		if (sc->xinerama == NULL)
-			HasXinerama = NULL;
+			HasXinerama = 0;
 		return;
 	}