diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-23 09:47:34 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-23 10:21:02 +0100 |
commit | 0e31e477e5eedff5a87d01b39dc75d381f55e43a (patch) | |
tree | 1e0ef140751f1411f0acf43744479c3b5b6c5b66 | |
parent | c1deb5c9ea2712cb1faed32a5905914517c04024 (diff) | |
download | ratpoison-0e31e477e5eedff5a87d01b39dc75d381f55e43a.zip |
Only call xrandr_fill_screen is xrandr is available
-rw-r--r-- | src/screen.c | 3 |
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); |