aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-06-14 22:40:18 -0700
committerPaul Eggert2016-06-14 22:40:40 -0700
commitdce99f222f1ca33265cd56ddb157817be1dc078e (patch)
tree603b4bd3d514b13169c9ad09cadbb3675037d5b6 /src
parentc5461d03a411ff5c6f43885a0a9030e8a94bbc2e (diff)
downloademacs-dce99f222f1ca33265cd56ddb157817be1dc078e.tar.gz
emacs-dce99f222f1ca33265cd56ddb157817be1dc078e.zip
Fix ifdef-vs-if typo with RANDR13_LIBRARY
* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef. This ports to systems that predate xrandr 1.3. See Christian Lynbech in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 9ff77738c11..35e2a236f89 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4286,7 +4286,7 @@ x_get_monitor_attributes_xrandr (struct x_display_info *dpyinfo)
4286 n_monitors = resources->noutput; 4286 n_monitors = resources->noutput;
4287 monitors = xzalloc (n_monitors * sizeof *monitors); 4287 monitors = xzalloc (n_monitors * sizeof *monitors);
4288 4288
4289#ifdef RANDR13_LIBRARY 4289#if RANDR13_LIBRARY
4290 if (randr13_avail) 4290 if (randr13_avail)
4291 pxid = XRRGetOutputPrimary (dpy, dpyinfo->root_window); 4291 pxid = XRRGetOutputPrimary (dpy, dpyinfo->root_window);
4292#endif 4292#endif