# HG changeset patch # User Kim F. Storm # Date 1030713585 0 # Node ID be0335657440318d63db11aeab86f9e467088fec # Parent bee830f164b731b078b4a795c864fc5db7e67221 Changed all occurrences of w32_highlight_frame with x_highlight_frame. diff -r bee830f164b7 -r be0335657440 src/w32term.c --- a/src/w32term.c Fri Aug 30 12:42:36 2002 +0000 +++ b/src/w32term.c Fri Aug 30 13:19:45 2002 +0000 @@ -6001,29 +6001,29 @@ x_frame_rehighlight (dpyinfo) struct w32_display_info *dpyinfo; { - struct frame *old_highlight = dpyinfo->w32_highlight_frame; + struct frame *old_highlight = dpyinfo->x_highlight_frame; if (dpyinfo->w32_focus_frame) { - dpyinfo->w32_highlight_frame + dpyinfo->x_highlight_frame = ((GC_FRAMEP (FRAME_FOCUS_FRAME (dpyinfo->w32_focus_frame))) ? XFRAME (FRAME_FOCUS_FRAME (dpyinfo->w32_focus_frame)) : dpyinfo->w32_focus_frame); - if (! FRAME_LIVE_P (dpyinfo->w32_highlight_frame)) + if (! FRAME_LIVE_P (dpyinfo->x_highlight_frame)) { FRAME_FOCUS_FRAME (dpyinfo->w32_focus_frame) = Qnil; - dpyinfo->w32_highlight_frame = dpyinfo->w32_focus_frame; + dpyinfo->x_highlight_frame = dpyinfo->w32_focus_frame; } } else - dpyinfo->w32_highlight_frame = 0; - - if (dpyinfo->w32_highlight_frame != old_highlight) + dpyinfo->x_highlight_frame = 0; + + if (dpyinfo->x_highlight_frame != old_highlight) { if (old_highlight) frame_unhighlight (old_highlight); - if (dpyinfo->w32_highlight_frame) - frame_highlight (dpyinfo->w32_highlight_frame); + if (dpyinfo->x_highlight_frame) + frame_highlight (dpyinfo->x_highlight_frame); } } @@ -10757,8 +10757,8 @@ struct frame *f; { /* Don't keep the highlight on an invisible frame. */ - if (FRAME_W32_DISPLAY_INFO (f)->w32_highlight_frame == f) - FRAME_W32_DISPLAY_INFO (f)->w32_highlight_frame = 0; + if (FRAME_W32_DISPLAY_INFO (f)->x_highlight_frame == f) + FRAME_W32_DISPLAY_INFO (f)->x_highlight_frame = 0; BLOCK_INPUT; @@ -10786,8 +10786,8 @@ Lisp_Object type; /* Don't keep the highlight on an invisible frame. */ - if (FRAME_W32_DISPLAY_INFO (f)->w32_highlight_frame == f) - FRAME_W32_DISPLAY_INFO (f)->w32_highlight_frame = 0; + if (FRAME_W32_DISPLAY_INFO (f)->x_highlight_frame == f) + FRAME_W32_DISPLAY_INFO (f)->x_highlight_frame = 0; if (f->async_iconified) return; @@ -10841,8 +10841,8 @@ dpyinfo->w32_focus_frame = 0; if (f == dpyinfo->w32_focus_event_frame) dpyinfo->w32_focus_event_frame = 0; - if (f == dpyinfo->w32_highlight_frame) - dpyinfo->w32_highlight_frame = 0; + if (f == dpyinfo->x_highlight_frame) + dpyinfo->x_highlight_frame = 0; if (f == dpyinfo->mouse_face_mouse_frame) {