aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Antipov2014-05-28 15:41:48 +0400
committerDmitry Antipov2014-05-28 15:41:48 +0400
commitdf384736fc4559b05c180a88a8b586bf9795ce02 (patch)
tree74438f06fad76b1ad971ed5a78c1466a5dfbee92
parentc63982dd7d024468c5f04f367e83277235be258b (diff)
downloademacs-df384736fc4559b05c180a88a8b586bf9795ce02.tar.gz
emacs-df384736fc4559b05c180a88a8b586bf9795ce02.zip
* xterm.c (x_free_frame_resources): Fix last change.
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xterm.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c1e29dd206c..2c142c5edb7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -8,7 +8,8 @@
8 * cmds.c (Fself_insert_command): Use SELECTED_FRAME. 8 * cmds.c (Fself_insert_command): Use SELECTED_FRAME.
9 * keyboard.c (gobble_input): If there is no terminal input error, 9 * keyboard.c (gobble_input): If there is no terminal input error,
10 make sure the pointer is visible for all frames on this terminal. 10 make sure the pointer is visible for all frames on this terminal.
11 * xterm.c (x_free_frame_resources): Always enable pointer visibility. 11 * xterm.c (x_free_frame_resources): Enable pointer visibility if
12 it was previously disabled.
12 13
132014-05-28 Stefan Monnier <monnier@iro.umontreal.ca> 142014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14 15
diff --git a/src/xterm.c b/src/xterm.c
index 6ee764aeebc..ed5d0382eae 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9235,7 +9235,8 @@ x_free_frame_resources (struct frame *f)
9235 { 9235 {
9236 /* Always exit with visible pointer to avoid weird issue 9236 /* Always exit with visible pointer to avoid weird issue
9237 with Xfixes (Bug#17609). */ 9237 with Xfixes (Bug#17609). */
9238 FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0); 9238 if (f->pointer_invisible)
9239 FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0);
9239 9240
9240 /* We must free faces before destroying windows because some 9241 /* We must free faces before destroying windows because some
9241 font-driver (e.g. xft) access a window while finishing a 9242 font-driver (e.g. xft) access a window while finishing a