aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1e13ae8858b..a2af7894cc2 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3139,6 +3139,7 @@ XTtoggle_invisible_pointer (f, invisible)
3139 else 3139 else
3140 XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 3140 XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
3141 f->output_data.x->current_cursor); 3141 f->output_data.x->current_cursor);
3142 f->pointer_invisible = invisible;
3142 UNBLOCK_INPUT; 3143 UNBLOCK_INPUT;
3143} 3144}
3144 3145
@@ -3372,6 +3373,8 @@ x_focus_changed (type, state, dpyinfo, frame, bufp)
3372 if (FRAME_XIC (frame)) 3373 if (FRAME_XIC (frame))
3373 XUnsetICFocus (FRAME_XIC (frame)); 3374 XUnsetICFocus (FRAME_XIC (frame));
3374#endif 3375#endif
3376 if (frame->pointer_invisible)
3377 XTtoggle_invisible_pointer (frame, 0);
3375 } 3378 }
3376} 3379}
3377 3380