mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
(x_get_focus_frame): New function.
This commit is contained in:
parent
21f69e7e21
commit
87498171d3
11
src/xfns.c
11
src/xfns.c
@ -2399,6 +2399,17 @@ be shared by the new frame.")
|
||||
#endif /* X10 */
|
||||
}
|
||||
|
||||
Lisp_Object
|
||||
x_get_focus_frame ()
|
||||
{
|
||||
Lisp_Object xfocus;
|
||||
if (! x_focus_frame)
|
||||
return Qnil;
|
||||
|
||||
XSET (xfocus, Lisp_Frame, x_focus_frame);
|
||||
return xfocus;
|
||||
}
|
||||
|
||||
DEFUN ("focus-frame", Ffocus_frame, Sfocus_frame, 1, 1, 0,
|
||||
"Set the focus on FRAME.")
|
||||
(frame)
|
||||
|
Loading…
Reference in New Issue
Block a user