changeset 75318:c5e4b1caea9a

(set_window_buffer): Revert 2006-11-22 change.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 20 Jan 2007 21:03:39 +0000
parents 0d8f305c19ce
children 74e74234236f
files src/window.c
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sat Jan 20 21:03:22 2007 +0000
+++ b/src/window.c	Sat Jan 20 21:03:39 2007 +0000
@@ -3266,10 +3266,6 @@
   struct window *w = XWINDOW (window);
   struct buffer *b = XBUFFER (buffer);
   int count = SPECPDL_INDEX ();
-#ifdef HAVE_WINDOW_SYSTEM
-  struct frame *f = XFRAME (w->frame);
-  Display_Info *dpyinfo;
-#endif
 
   w->buffer = buffer;
 
@@ -3350,15 +3346,6 @@
 	call1 (Vrun_hooks, Qwindow_configuration_change_hook);
     }
 
-#ifdef HAVE_WINDOW_SYSTEM
-  BLOCK_INPUT;
-  if (f && FRAME_X_OUTPUT (f)
-      && (dpyinfo = FRAME_X_DISPLAY_INFO (f))
-      && EQ (window, dpyinfo->mouse_face_window))
-    clear_mouse_face (dpyinfo);
-  UNBLOCK_INPUT;
-#endif
-
   unbind_to (count, Qnil);
 }