# HG changeset patch # User Jan Dj¸«£rv # Date 1252042393 0 # Node ID ce7818a96e63e730522f283ec0a443b678ab0996 # Parent 34f58690ff981c74a3b1e7a53be39cbd9821c9b3 (x_focus_changed): If we get a focusout and pointer is invisible, make it visible. diff -r 34f58690ff98 -r ce7818a96e63 src/xterm.c --- a/src/xterm.c Fri Sep 04 04:47:36 2009 +0000 +++ b/src/xterm.c Fri Sep 04 05:33:13 2009 +0000 @@ -3139,6 +3139,7 @@ else XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f->output_data.x->current_cursor); + f->pointer_invisible = invisible; UNBLOCK_INPUT; } @@ -3372,6 +3373,8 @@ if (FRAME_XIC (frame)) XUnsetICFocus (FRAME_XIC (frame)); #endif + if (frame->pointer_invisible) + XTtoggle_invisible_pointer (frame, 0); } }