mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -08:00
(get_window_cursor_type): Don't use x_highlight_frame
member of x_display_info unless we compile for some window system.
This commit is contained in:
parent
ca45961da5
commit
97acc803a9
2 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2002-08-31 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* xdisp.c (get_window_cursor_type): Don't use x_highlight_frame
|
||||
member of x_display_info unless we compile for some window system.
|
||||
|
||||
2002-08-31 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
* xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed.
|
||||
|
|
|
|||
|
|
@ -15320,8 +15320,11 @@ get_window_cursor_type (w, width)
|
|||
}
|
||||
|
||||
/* Nonselected window or nonselected frame. */
|
||||
else if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
|
||||
|| w != XWINDOW (f->selected_window))
|
||||
else if (w != XWINDOW (f->selected_window)
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
|| f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
|
||||
#endif
|
||||
)
|
||||
{
|
||||
if (MINI_WINDOW_P (w) && minibuf_level == 0)
|
||||
return NO_CURSOR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue