aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/frame.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 74e57f9b5f2..fde2a131548 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1903,10 +1903,13 @@ See `redirect-frame-focus'. */)
1903 1903
1904DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0, 1904DEFUN ("x-focus-frame", Fx_focus_frame, Sx_focus_frame, 1, 1, 0,
1905 doc: /* Set the input focus to FRAME. 1905 doc: /* Set the input focus to FRAME.
1906FRAME nil means use the selected frame. */) 1906FRAME nil means use the selected frame.
1907If there is no window system support, this function does nothing. */)
1907 (Lisp_Object frame) 1908 (Lisp_Object frame)
1908{ 1909{
1910#ifdef HAVE_WINDOW_SYSTEM
1909 x_focus_frame (decode_window_system_frame (frame)); 1911 x_focus_frame (decode_window_system_frame (frame));
1912#endif
1910 return Qnil; 1913 return Qnil;
1911} 1914}
1912 1915