Fix no-toolkit build

* src/xterm.c (x_top_window_to_frame): Declare correctly on
no-toolkit builds.
This commit is contained in:
Po Lu 2022-03-27 09:48:37 +08:00
parent a4a44d7ee1
commit 0bdbea654d

View file

@ -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 */