[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 d765175: Fix ifdef-vs-if typo with RANDR13_LIBRAR

From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 d765175: Fix ifdef-vs-if typo with RANDR13_LIBRARY
Date: Thu, 16 Jun 2016 17:31:52 +0000 (UTC)

branch: emacs-25
commit d765175ef1179f834c25fd856ace63c3dc37162c
Author: Paul Eggert <address@hidden>
Commit: Glenn Morris <address@hidden>

    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:
    (cherry picked from commit dce99f222f1ca33265cd56ddb157817be1dc078e)
 src/xfns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfns.c b/src/xfns.c
index b22af5c..7c1bb1c 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4287,7 +4287,7 @@ x_get_monitor_attributes_xrandr (struct x_display_info 
   n_monitors = resources->noutput;
   monitors = xzalloc (n_monitors * sizeof *monitors);
   if (randr13_avail)
     pxid = XRRGetOutputPrimary (dpy, dpyinfo->root_window);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]