aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2013-09-13 20:55:48 +0400
committerDmitry Antipov2013-09-13 20:55:48 +0400
commit97fc2468bd2cbce07205d1fc96f17220187a0f84 (patch)
tree4e4844c6d922437f33858fe686f555fb27f33d4a /src
parentfcd42c11c0e0e5fa3ab931ad2126b1d855ba240f (diff)
downloademacs-97fc2468bd2cbce07205d1fc96f17220187a0f84.tar.gz
emacs-97fc2468bd2cbce07205d1fc96f17220187a0f84.zip
* frame.c (Fx_focus_frame) [HAVE_WINDOW_SYSTEM]: Fix last change.
Diffstat (limited to 'src')
-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