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
93938ebe
Commit
93938ebe
authored
Nov 08, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't drop mouse messages that should go to a different thread input.
Instead requeue them into the proper destination queue. Reported by Ulrich Czekalla.
parent
b0c9e753
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
queue.c
server/queue.c
+11
-3
No files found.
server/queue.c
View file @
93938ebe
...
...
@@ -1222,12 +1222,20 @@ static void release_hardware_message( struct msg_queue *queue, unsigned int hw_i
struct
thread
*
owner
=
get_window_thread
(
new_win
);
if
(
owner
)
{
if
(
owner
->
queue
->
input
==
input
)
{
msg
->
win
=
new_win
;
if
(
owner
->
queue
->
input
!=
input
)
{
list_remove
(
&
msg
->
entry
);
if
(
msg
->
msg
==
WM_MOUSEMOVE
&&
merge_message
(
owner
->
queue
->
input
,
msg
))
{
free_message
(
msg
);
release_object
(
owner
);
return
;
}
list_add_tail
(
&
owner
->
queue
->
input
->
msg_list
,
&
msg
->
entry
);
}
set_queue_bits
(
owner
->
queue
,
get_hardware_msg_bit
(
msg
));
remove
=
0
;
}
release_object
(
owner
);
}
}
...
...
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