From 88b482596fbe244496ea0cc52706dcdbc6c0c9f6 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Tue, 11 Feb 2014 23:29:40 -0500 Subject: [PATCH] Rebase fixup, two. --- bar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bar.c b/bar.c index 27c971e..661c786 100644 --- a/bar.c +++ b/bar.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "config.h" @@ -601,7 +602,7 @@ init (void) /* If no RandR outputs or Xinerama screens, fall back to using whole screen */ monhead = monitor_new (0, 0, width, scr->height_in_pixels); - if (!mons) + if (!monhead) exit(EXIT_FAILURE); /* For WM that support EWMH atoms */