changeset 54733:edff9ce01ed0

(handle_one_xevent): Set mouse_face_hidden after clearing highlight.
author Kim F. Storm <storm@cua.dk>
date Mon, 05 Apr 2004 21:55:16 +0000
parents e04c6343cf61
children 3bbc72ffcf88
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Apr 05 21:54:43 2004 +0000
+++ b/src/xterm.c	Mon Apr 05 21:55:16 2004 +0000
@@ -6190,8 +6190,8 @@
 
       if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight))
         {
+          clear_mouse_face (dpyinfo);
           dpyinfo->mouse_face_hidden = 1;
-          clear_mouse_face (dpyinfo);
         }
 
 #if defined USE_MOTIF && defined USE_TOOLKIT_SCROLL_BARS