Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f);
Lisp_Object window = hlinfo->mouse_face_window;
- if (! NILP (window) && XFRAME (WVAR (XWINDOW (window), frame)) == f)
+ if (! NILP (window) && XFRAME (WGET (XWINDOW (window), frame)) == f)
{
hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1;
hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1;
/* If the mouse highlight is in the window that was deleted
(e.g., if it was popped by completion), clear highlight
unconditionally. */
- if (NILP (WVAR (w, buffer)))
+ if (NILP (WGET (w, buffer)))
hlinfo->mouse_face_window = Qnil;
else
{
break;
}
- if (NILP (WVAR (w, buffer)) || i < w->desired_matrix->nrows)
+ if (NILP (WGET (w, buffer)) || i < w->desired_matrix->nrows)
clear_mouse_face (hlinfo);
}
}
new_cursor = frame_desired_cursor;
else
{
- struct buffer *b = XBUFFER (WVAR (sw, buffer));
+ struct buffer *b = XBUFFER (WGET (sw, buffer));
if (EQ (BVAR (b,cursor_type), Qt))
new_cursor = frame_desired_cursor;