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
5ee89aad
Commit
5ee89aad
authored
May 12, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Update the cursor also for events ignored by a hook.
parent
364242fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
mouse.c
dlls/winex11.drv/mouse.c
+2
-1
queue.c
server/queue.c
+4
-7
No files found.
dlls/winex11.drv/mouse.c
View file @
5ee89aad
...
...
@@ -304,7 +304,8 @@ static void queue_raw_mouse_message( UINT message, HWND hwnd, DWORD x, DWORD y,
hook
.
dwExtraInfo
=
extra_info
;
last_time_modified
=
GetTickCount
();
if
(
HOOK_CallHooks
(
WH_MOUSE_LL
,
HC_ACTION
,
message
,
(
LPARAM
)
&
hook
,
TRUE
))
return
;
if
(
HOOK_CallHooks
(
WH_MOUSE_LL
,
HC_ACTION
,
message
,
(
LPARAM
)
&
hook
,
TRUE
))
message
=
0
;
/* ignore it */
SERVER_START_REQ
(
send_hardware_message
)
{
...
...
server/queue.c
View file @
5ee89aad
...
...
@@ -1717,9 +1717,11 @@ DECL_HANDLER(send_hardware_message)
return
;
}
input
=
thread
->
queue
->
input
;
reply
->
cursor
=
input
->
cursor
;
reply
->
count
=
input
->
cursor_count
;
}
if
(
!
(
data
=
mem_alloc
(
sizeof
(
*
data
)
)))
if
(
!
req
->
msg
||
!
(
data
=
mem_alloc
(
sizeof
(
*
data
)
)))
{
if
(
thread
)
release_object
(
thread
);
return
;
...
...
@@ -1744,12 +1746,7 @@ DECL_HANDLER(send_hardware_message)
}
else
free
(
data
);
if
(
thread
)
{
reply
->
cursor
=
input
->
cursor
;
reply
->
count
=
input
->
cursor_count
;
release_object
(
thread
);
}
if
(
thread
)
release_object
(
thread
);
}
/* post a quit message to the current 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