From 03f962a4863c986adbfc2787ea77c2e76056ed52 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 25 Dec 2019 12:01:07 -0800 Subject: [PATCH] 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 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 -- 2.39.2