diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 06:56:12 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 06:56:12 +0200 |
commit | cbd91e801bf71eb0e7b2d5a2264c36007a3e12cc (patch) | |
tree | 482d38dbd98a11bcd9f8ad02557f3f16a0b0e7c2 /src/main.c | |
parent | 0a90c2ac60cbb511ec24a52d723291d82a0124ba (diff) | |
download | ratpoison-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 (); |