emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 03f962a: Port x_get_monitor_attributes_fallback to !HAVE_GTK3


From: Paul Eggert
Subject: emacs-27 03f962a: Port x_get_monitor_attributes_fallback to !HAVE_GTK3
Date: Wed, 25 Dec 2019 15:01:53 -0500 (EST)

branch: emacs-27
commit 03f962a4863c986adbfc2787ea77c2e76056ed52
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Port x_get_monitor_attributes_fallback to !HAVE_GTK3
    
    * src/xfns.c (x_get_net_workarea) [!HAVE_GTK3]:
    Define in this case too, since x_get_monitor_attributes_fallback
    contains a call to it regardless whether HAVE_GTK3 is defined.
---
 src/xfns.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/xfns.c b/src/xfns.c
index 47aa196..0ce1e73 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4576,7 +4576,6 @@ On MS Windows, this just returns nil.  */)
    Return false if and only if the workarea information cannot be
    obtained via the _NET_WORKAREA root window property.  */
 
-#ifndef HAVE_GTK3
 static bool
 x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
 {
@@ -4634,7 +4633,6 @@ x_get_net_workarea (struct x_display_info *dpyinfo, 
XRectangle *rect)
 
   return result;
 }
-#endif
 
 #ifndef USE_GTK
 



reply via email to

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