[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0bdbea654d: Fix no-toolkit build
From: |
Po Lu |
Subject: |
master 0bdbea654d: Fix no-toolkit build |
Date: |
Sat, 26 Mar 2022 21:49:38 -0400 (EDT) |
branch: master
commit 0bdbea654d3762a55ee23cbeb1ef6f14167acaba
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix no-toolkit build
* src/xterm.c (x_top_window_to_frame): Declare correctly on
no-toolkit builds.
---
src/xterm.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 3be5733215..a990893029 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7657,7 +7657,12 @@ x_top_window_to_frame (struct x_display_info *dpyinfo,
int wdesc)
#else /* !USE_X_TOOLKIT && !USE_GTK */
#define x_any_window_to_frame(d, i) x_window_to_frame (d, i)
-#define x_top_window_to_frame(d, i) x_window_to_frame (d, i)
+
+struct frame *
+x_top_window_to_frame (struct x_display_info *dpyinfo, int wdesc)
+{
+ return x_window_to_frame (dpyinfo, wdesc);
+}
#endif /* USE_X_TOOLKIT || USE_GTK */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0bdbea654d: Fix no-toolkit build,
Po Lu <=