From 4221809b00e526892b7ff3979b3829eb493f0616 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Jun 2018 17:45:27 +0300 Subject: [PATCH] Fix building --without-x and similar * src/keyboard.c (make_lispy_focus_out): Compile it unconditionally, as it is now supported on TTYs as well. Reported by Filipp Gunbin . --- src/keyboard.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index 12fc33787a3..540991872a5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -360,9 +360,7 @@ static Lisp_Object modify_event_symbol (ptrdiff_t, int, Lisp_Object, Lisp_Object *, ptrdiff_t); static Lisp_Object make_lispy_switch_frame (Lisp_Object); static Lisp_Object make_lispy_focus_in (Lisp_Object); -#ifdef HAVE_WINDOW_SYSTEM static Lisp_Object make_lispy_focus_out (Lisp_Object); -#endif /* HAVE_WINDOW_SYSTEM */ static bool help_char_p (Lisp_Object); static void save_getcjmp (sys_jmp_buf); static void restore_getcjmp (sys_jmp_buf); @@ -6047,16 +6045,12 @@ make_lispy_focus_in (Lisp_Object frame) return list2 (Qfocus_in, frame); } -#ifdef HAVE_WINDOW_SYSTEM - static Lisp_Object make_lispy_focus_out (Lisp_Object frame) { return list2 (Qfocus_out, frame); } -#endif /* HAVE_WINDOW_SYSTEM */ - /* Manipulating modifiers. */ /* Parse the name of SYMBOL, and return the set of modifiers it contains. -- 2.39.2