[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in incremental undrawing of mouseover highlighting
From: |
Eli Zaretskii |
Subject: |
Re: Bug in incremental undrawing of mouseover highlighting |
Date: |
Mon, 20 Nov 2006 22:36:22 +0200 |
> From: Chong Yidong <address@hidden>
> Date: Mon, 20 Nov 2006 14:22:47 -0500
> Cc: address@hidden
>
> *** emacs/src/window.c.~1.564.~ 2006-10-30 09:06:42.000000000 -0500
> --- emacs/src/window.c 2006-11-20 14:13:08.000000000 -0500
> ***************
> *** 3265,3270 ****
> --- 3265,3275 ----
> 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 = (f && FRAME_X_OUTPUT (f)) ?
> + FRAME_X_DISPLAY_INFO (f) : NULL;
> + #endif
>
> w->buffer = buffer;
>
> ***************
> *** 3345,3350 ****
> --- 3350,3360 ----
> call1 (Vrun_hooks, Qwindow_configuration_change_hook);
> }
>
> + #ifdef HAVE_WINDOW_SYSTEM
> + if (dpyinfo && EQ (window, dpyinfo->mouse_face_window))
> + clear_mouse_face (dpyinfo);
> + #endif
> +
> unbind_to (count, Qnil);
> }
Are these #ifdef's really right? The mouse highlight is supported not
only in builds that define HAVE_WINDOW_SYSTEM.
- Bug in incremental undrawing of mouseover highlighting, Bob Rogers, 2006/11/19
- Re: Bug in incremental undrawing of mouseover highlighting,
Eli Zaretskii <=
- Re: Bug in incremental undrawing of mouseover highlighting, Chong Yidong, 2006/11/22
- Re: Bug in incremental undrawing of mouseover highlighting, Eli Zaretskii, 2006/11/22
- Re: Bug in incremental undrawing of mouseover highlighting, Nick Roberts, 2006/11/22
- Re: Bug in incremental undrawing of mouseover highlighting, Eli Zaretskii, 2006/11/22
- Re: Bug in incremental undrawing of mouseover highlighting, Nick Roberts, 2006/11/22
- Re: Bug in incremental undrawing of mouseover highlighting, Eli Zaretskii, 2006/11/24
Re: Bug in incremental undrawing of mouseover highlighting, YAMAMOTO Mitsuharu, 2006/11/24