diff options
| author | Joakim Verona | 2012-02-15 15:12:49 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-02-15 15:12:49 +0100 |
| commit | 02db17e53bf46c91b2cb8ee33b43d8ae252a1681 (patch) | |
| tree | fcafa961e884648e15524130f1dbca55dc7093d0 /src/window.c | |
| parent | 736ab04e2752e7c3c5b5070a0d62279dcfb12b27 (diff) | |
| parent | 1deeb569b1247db4c0b2eea4906a9e53e5ee7e99 (diff) | |
| download | emacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.tar.gz emacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.zip | |
upstream
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index a3b58d648a1..b50ae71df8c 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3888,6 +3888,8 @@ Signal an error when WINDOW is the only window on its frame. */) | |||
| 3888 | && EQ (r->new_total, (horflag ? r->total_cols : r->total_lines))) | 3888 | && EQ (r->new_total, (horflag ? r->total_cols : r->total_lines))) |
| 3889 | /* We can delete WINDOW now. */ | 3889 | /* We can delete WINDOW now. */ |
| 3890 | { | 3890 | { |
| 3891 | Mouse_HLInfo *hlinfo; | ||
| 3892 | |||
| 3891 | /* Block input. */ | 3893 | /* Block input. */ |
| 3892 | BLOCK_INPUT; | 3894 | BLOCK_INPUT; |
| 3893 | #ifdef HAVE_XWIDGETS | 3895 | #ifdef HAVE_XWIDGETS |
| @@ -3895,6 +3897,12 @@ Signal an error when WINDOW is the only window on its frame. */) | |||
| 3895 | #endif | 3897 | #endif |
| 3896 | window_resize_apply (p, horflag); | 3898 | window_resize_apply (p, horflag); |
| 3897 | 3899 | ||
| 3900 | /* If this window is referred to by the dpyinfo's mouse | ||
| 3901 | highlight, invalidate that slot to be safe (Bug#9904). */ | ||
| 3902 | hlinfo = MOUSE_HL_INFO (XFRAME (w->frame)); | ||
| 3903 | if (EQ (hlinfo->mouse_face_window, window)) | ||
| 3904 | hlinfo->mouse_face_window = Qnil; | ||
| 3905 | |||
| 3898 | windows_or_buffers_changed++; | 3906 | windows_or_buffers_changed++; |
| 3899 | Vwindow_list = Qnil; | 3907 | Vwindow_list = Qnil; |
| 3900 | FRAME_WINDOW_SIZES_CHANGED (f) = 1; | 3908 | FRAME_WINDOW_SIZES_CHANGED (f) = 1; |