summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2017-09-18 06:56:12 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2017-09-18 06:56:12 +0200
commitcbd91e801bf71eb0e7b2d5a2264c36007a3e12cc (patch)
tree482d38dbd98a11bcd9f8ad02557f3f16a0b0e7c2 /src/main.c
parent0a90c2ac60cbb511ec24a52d723291d82a0124ba (diff)
downloadratpoison-cbd91e801bf71eb0e7b2d5a2264c36007a3e12cc.zip
Move #ifdef HAVE_XRANDR in xrandr.c
- always build xrandr.c - provide stubs in xrandr.c; only init_xrandr() anc xrandr_fill_screen() are safe to call if XRandR support is not built in Code that wants to use XRandR outside xrandr.c should test rp_have_xrandr.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index db83f74..dbd4519 100644
--- a/src/main.c
+++ b/src/main.c
@@ -420,11 +420,7 @@ main (int argc, char *argv[])
init_xkb ();
init_groups ();
init_window_stuff ();
-
-#ifdef HAVE_XRANDR
init_xrandr ();
-#endif
-
init_screens ();
init_frame_lists ();