Commit 7292c311 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(w32_read_socket): Set mouse_face_hidden after clearing highlight.

parent fbb6cd8c
...@@ -4245,8 +4245,8 @@ w32_read_socket (sd, expected, hold_quit) ...@@ -4245,8 +4245,8 @@ w32_read_socket (sd, expected, hold_quit)
{ {
if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight))
{ {
dpyinfo->mouse_face_hidden = 1;
clear_mouse_face (dpyinfo); clear_mouse_face (dpyinfo);
dpyinfo->mouse_face_hidden = 1;
} }
if (temp_index == sizeof temp_buffer / sizeof (short)) if (temp_index == sizeof temp_buffer / sizeof (short))
...@@ -4268,8 +4268,8 @@ w32_read_socket (sd, expected, hold_quit) ...@@ -4268,8 +4268,8 @@ w32_read_socket (sd, expected, hold_quit)
{ {
if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight))
{ {
dpyinfo->mouse_face_hidden = 1;
clear_mouse_face (dpyinfo); clear_mouse_face (dpyinfo);
dpyinfo->mouse_face_hidden = 1;
} }
if (temp_index == sizeof temp_buffer / sizeof (short)) if (temp_index == sizeof temp_buffer / sizeof (short))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment