Commit a8451741 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

server: Check for internal hardware messages before others.

parent 8405fe85
...@@ -2988,6 +2988,12 @@ DECL_HANDLER(get_message) ...@@ -2988,6 +2988,12 @@ DECL_HANDLER(get_message)
} }
if (!queue) return; if (!queue) return;
/* check for any hardware internal message */
if (get_hardware_message( current, req->hw_id, get_win, WM_WINE_FIRST_DRIVER_MSG,
WM_WINE_LAST_DRIVER_MSG, req->flags, reply ))
return;
queue->last_get_msg = current_time; queue->last_get_msg = current_time;
if (!filter) filter = QS_ALLINPUT; if (!filter) filter = QS_ALLINPUT;
...@@ -3028,11 +3034,6 @@ DECL_HANDLER(get_message) ...@@ -3028,11 +3034,6 @@ DECL_HANDLER(get_message)
get_hardware_message( current, req->hw_id, get_win, req->get_first, req->get_last, req->flags, reply )) get_hardware_message( current, req->hw_id, get_win, req->get_first, req->get_last, req->flags, reply ))
return; return;
/* check for any internal driver message */
if (get_hardware_message( current, req->hw_id, get_win, WM_WINE_FIRST_DRIVER_MSG,
WM_WINE_LAST_DRIVER_MSG, req->flags, reply ))
return;
/* now check for WM_PAINT */ /* now check for WM_PAINT */
if ((filter & QS_PAINT) && if ((filter & QS_PAINT) &&
queue->paint_count && queue->paint_count &&
......
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