diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-21 20:04:37 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-21 20:04:37 +0100 |
commit | f34153a2f385818c3820b37c20cde4e1054ccce1 (patch) | |
tree | 126d61c165f70734451e79ed18592866dd2475cb /src/xrandr.c | |
parent | 28d7a4967d6c550ee9d03180e08691519b9b4bc0 (diff) | |
download | ratpoison-f34153a2f385818c3820b37c20cde4e1054ccce1.zip |
Only use xrandr if Xrandr init succeeds
Diffstat (limited to 'src/xrandr.c')
-rw-r--r-- | src/xrandr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xrandr.c b/src/xrandr.c index f2ea804..f36105a 100644 --- a/src/xrandr.c +++ b/src/xrandr.c @@ -49,6 +49,8 @@ init_xrandr (void) XRRSelectInput (dpy, RootWindow (dpy, DefaultScreen(dpy)), RRCrtcChangeNotifyMask | RROutputChangeNotifyMask); + + rp_have_xrandr = 1; } int * |