Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a8451741
Commit
a8451741
authored
Mar 15, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Check for internal hardware messages before others.
parent
8405fe85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
queue.c
server/queue.c
+6
-5
No files found.
server/queue.c
View file @
a8451741
...
@@ -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
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment