summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 115aeca..ea00262 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -575,7 +575,8 @@ screen_add (int rr_output)
change_windows_screen (NULL, screen);
#ifdef HAVE_LIBXRANDR
- xrandr_fill_screen (rr_output, screen);
+ if (rp_have_xrandr)
+ xrandr_fill_screen (rr_output, screen);
#endif
init_screen (screen);
init_frame_list (screen);