]> code.delx.au - gnu-emacs/commitdiff
(handle_one_xevent): Set mouse_face_hidden after clearing highlight.
authorKim F. Storm <storm@cua.dk>
Mon, 5 Apr 2004 21:55:16 +0000 (21:55 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 5 Apr 2004 21:55:16 +0000 (21:55 +0000)
src/xterm.c

index 8bdf3fec4ec5c651934387e694fb13afb807d0b4..da875b6156fa5dc91e4d6bcf39a99289b787ffb8 100644 (file)
@@ -6190,8 +6190,8 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
 
       if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight))
         {
-          dpyinfo->mouse_face_hidden = 1;
           clear_mouse_face (dpyinfo);
+          dpyinfo->mouse_face_hidden = 1;
         }
 
 #if defined USE_MOTIF && defined USE_TOOLKIT_SCROLL_BARS