]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_window_buffer): Revert 2006-11-22 change.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 20 Jan 2007 21:03:39 +0000 (21:03 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 20 Jan 2007 21:03:39 +0000 (21:03 +0000)
src/window.c

index d052a5786dcd3365985fff5c844d63be7bd986e0..0a38a9a30f80298c8ecd006536f7feadfa1f38b2 100644 (file)
@@ -3266,10 +3266,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
   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 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
        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);
 }