From 632fd57c5b4aa2cface82b43e17879147c4c1308 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Wed, 28 May 2014 12:00:10 +0400 Subject: 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. --- src/frame.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frame.h') 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; -- cgit v1.2.1