From: Paul Eggert Date: Wed, 25 Dec 2019 20:01:07 +0000 (-0800) Subject: Port x_get_monitor_attributes_fallback to !HAVE_GTK3 X-Git-Tag: emacs-27.0.90~284 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03f962a4863c986adbfc2787ea77c2e76056ed52;p=emacs.git 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. --- diff --git a/src/xfns.c b/src/xfns.c index 47aa19607f6..0ce1e73397f 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