aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2019-12-25 12:01:07 -0800
committerPaul Eggert2019-12-25 12:01:48 -0800
commit03f962a4863c986adbfc2787ea77c2e76056ed52 (patch)
treee3473668a3d0fccdc601b464138bb10d67c96a19 /src
parent0b32f5976414e501d2fb95ddd21523e122b0f5b0 (diff)
downloademacs-03f962a4863c986adbfc2787ea77c2e76056ed52.tar.gz
emacs-03f962a4863c986adbfc2787ea77c2e76056ed52.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 0 insertions, 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. */)
4576 Return false if and only if the workarea information cannot be 4576 Return false if and only if the workarea information cannot be
4577 obtained via the _NET_WORKAREA root window property. */ 4577 obtained via the _NET_WORKAREA root window property. */
4578 4578
4579#ifndef HAVE_GTK3
4580static bool 4579static bool
4581x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect) 4580x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
4582{ 4581{
@@ -4634,7 +4633,6 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
4634 4633
4635 return result; 4634 return result;
4636} 4635}
4637#endif
4638 4636
4639#ifndef USE_GTK 4637#ifndef USE_GTK
4640 4638