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
073d5f2b
Commit
073d5f2b
authored
Mar 16, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Queue hardware messages even if we don't find a window for them the
first time around.
parent
bcb7591e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
queue.c
server/queue.c
+6
-6
No files found.
server/queue.c
View file @
073d5f2b
...
@@ -1117,17 +1117,17 @@ static user_handle_t find_hardware_message_window( struct thread_input *input, s
...
@@ -1117,17 +1117,17 @@ static user_handle_t find_hardware_message_window( struct thread_input *input, s
static
void
queue_hardware_message
(
struct
msg_queue
*
queue
,
struct
message
*
msg
)
static
void
queue_hardware_message
(
struct
msg_queue
*
queue
,
struct
message
*
msg
)
{
{
user_handle_t
win
;
user_handle_t
win
;
struct
thread
*
thread
;
struct
thread
*
thread
=
NULL
;
struct
thread_input
*
input
;
struct
thread_input
*
input
=
queue
?
queue
->
input
:
foreground_input
;
unsigned
int
msg_code
;
unsigned
int
msg_code
;
win
=
find_hardware_message_window
(
queue
?
queue
->
input
:
foreground_
input
,
msg
,
&
msg_code
);
win
=
find_hardware_message_window
(
input
,
msg
,
&
msg_code
);
if
(
!
win
||
!
(
thread
=
get_window_thread
(
win
)))
if
(
win
&&
!
(
thread
=
get_window_thread
(
win
)))
{
{
free
(
msg
);
free
(
msg
);
return
;
return
;
}
}
input
=
thread
->
queue
->
input
;
i
f
(
thread
)
i
nput
=
thread
->
queue
->
input
;
if
(
msg
->
msg
==
WM_MOUSEMOVE
&&
merge_message
(
input
,
msg
))
free
(
msg
);
if
(
msg
->
msg
==
WM_MOUSEMOVE
&&
merge_message
(
input
,
msg
))
free
(
msg
);
else
else
...
@@ -1135,7 +1135,7 @@ static void queue_hardware_message( struct msg_queue *queue, struct message *msg
...
@@ -1135,7 +1135,7 @@ static void queue_hardware_message( struct msg_queue *queue, struct message *msg
list_add_tail
(
&
input
->
msg_list
,
&
msg
->
entry
);
list_add_tail
(
&
input
->
msg_list
,
&
msg
->
entry
);
set_queue_bits
(
thread
->
queue
,
get_hardware_msg_bit
(
msg
)
);
set_queue_bits
(
thread
->
queue
,
get_hardware_msg_bit
(
msg
)
);
}
}
release_object
(
thread
);
if
(
thread
)
release_object
(
thread
);
}
}
/* find a hardware message for the given queue */
/* find a hardware message for the given queue */
...
...
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