summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-02 16:25:19 +0000
committerMiles Bader <miles@gnu.org>1996-07-02 16:25:19 +0000
commita1cb39e9431e8c7e95787a543cbc831c1da1d7b6 (patch)
tree995c563665e645aaa77ce6a467c67ca14de844a3 /src
parentb4c623a15a486b91ed55a54b4de15a5b12272c1a (diff)
downloademacs-a1cb39e9431e8c7e95787a543cbc831c1da1d7b6.tar.gz
(x_clear_frame_selections): Don't call redisplay_preserve_echo_area here.
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 9e4681f5dc4..118c2649348 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -834,7 +834,11 @@ x_clear_frame_selections (f)
{
for (; CONSP (hooks); hooks = Fcdr (hooks))
call1 (Fcar (hooks), selection_symbol);
+#if 0 /* This can crash when deleting a frame
+ from x_connection_closed. Anyway, it seems unnecessary;
+ something else should cause a redisplay. */
redisplay_preserve_echo_area ();
+#endif
}
Vselection_alist = Fcdr (Vselection_alist);
@@ -854,7 +858,9 @@ x_clear_frame_selections (f)
{
for (; CONSP (hooks); hooks = Fcdr (hooks))
call1 (Fcar (hooks), selection_symbol);
+#if 0 /* See above */
redisplay_preserve_echo_area ();
+#endif
}
XCONS (rest)->cdr = Fcdr (XCONS (rest)->cdr);
break;