summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-05-28 12:00:10 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-05-28 12:00:10 +0400
commit632fd57c5b4aa2cface82b43e17879147c4c1308 (patch)
treecb5ff8a7b63057d16a90933570214c591b73e079 /src/frame.h
parent6c2038223bffd69bf643a923968fa6851a302fd8 (diff)
downloademacs-632fd57c5b4aa2cface82b43e17879147c4c1308.tar.gz
On X, always make pointer visible when deleting frame (Bug#17609).
* frame.c (frame_make_pointer_visible, frame_make_pointer_invisible): Pass frame as arg. * frame.h (frame_make_pointer_visible, frame_make_pointer_invisible): Adjust prototypes. * cmds.c (Fself_insert_command): Use SELECTED_FRAME. * keyboard.c (gobble_input): If there is no terminal input error, make sure the pointer is visible for all frames on this terminal. * xterm.c (x_free_frame_resources): Always enable pointer visibility.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.h b/src/frame.h
index ff696df9eff..c0c206d7c6a 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -995,8 +995,8 @@ extern struct frame *make_frame_without_minibuffer (Lisp_Object,
#endif /* HAVE_WINDOW_SYSTEM */
extern bool window_system_available (struct frame *);
extern void check_window_system (struct frame *);
-extern void frame_make_pointer_invisible (void);
-extern void frame_make_pointer_visible (void);
+extern void frame_make_pointer_invisible (struct frame *);
+extern void frame_make_pointer_visible (struct frame *);
extern Lisp_Object delete_frame (Lisp_Object, Lisp_Object);
extern Lisp_Object Vframe_list;