* xterm.c (x_free_frame_resources): Fix last change.

This commit is contained in:
Dmitry Antipov 2014-05-28 15:41:48 +04:00
parent c63982dd7d
commit df384736fc
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,8 @@
* 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.
* xterm.c (x_free_frame_resources): Enable pointer visibility if
it was previously disabled.
2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -9235,7 +9235,8 @@ x_free_frame_resources (struct frame *f)
{
/* Always exit with visible pointer to avoid weird issue
with Xfixes (Bug#17609). */
FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0);
if (f->pointer_invisible)
FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0);
/* We must free faces before destroying windows because some
font-driver (e.g. xft) access a window while finishing a