diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/window.c b/src/window.c index 00a2e06bdeb..57a818eeee6 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Window creation, deletion and examination for GNU Emacs. | 1 | /* Window creation, deletion and examination for GNU Emacs. |
| 2 | Does not include redisplay. | 2 | Does not include redisplay. |
| 3 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, | 3 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, |
| 4 | 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 4 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -3268,10 +3268,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) | |||
| 3268 | struct window *w = XWINDOW (window); | 3268 | struct window *w = XWINDOW (window); |
| 3269 | struct buffer *b = XBUFFER (buffer); | 3269 | struct buffer *b = XBUFFER (buffer); |
| 3270 | int count = SPECPDL_INDEX (); | 3270 | int count = SPECPDL_INDEX (); |
| 3271 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 3272 | struct frame *f = XFRAME (w->frame); | ||
| 3273 | Display_Info *dpyinfo; | ||
| 3274 | #endif | ||
| 3275 | 3271 | ||
| 3276 | w->buffer = buffer; | 3272 | w->buffer = buffer; |
| 3277 | 3273 | ||
| @@ -3352,15 +3348,6 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) | |||
| 3352 | call1 (Vrun_hooks, Qwindow_configuration_change_hook); | 3348 | call1 (Vrun_hooks, Qwindow_configuration_change_hook); |
| 3353 | } | 3349 | } |
| 3354 | 3350 | ||
| 3355 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 3356 | BLOCK_INPUT; | ||
| 3357 | if (f && FRAME_WINDOW_P (f) && FRAME_X_OUTPUT (f) | ||
| 3358 | && (dpyinfo = FRAME_X_DISPLAY_INFO (f)) | ||
| 3359 | && EQ (window, dpyinfo->mouse_face_window)) | ||
| 3360 | clear_mouse_face (dpyinfo); | ||
| 3361 | UNBLOCK_INPUT; | ||
| 3362 | #endif | ||
| 3363 | |||
| 3364 | unbind_to (count, Qnil); | 3351 | unbind_to (count, Qnil); |
| 3365 | } | 3352 | } |
| 3366 | 3353 | ||