Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d7d564b2
Commit
d7d564b2
authored
Oct 17, 2001
by
Jukka Heinonen
Committed by
Alexandre Julliard
Oct 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Releasing a mouse button now clears an entry in table
InputKeyStateTable instead of AsyncKeyStateTable.
parent
3d4d0862
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
input.c
windows/input.c
+3
-3
No files found.
windows/input.c
View file @
d7d564b2
...
...
@@ -220,7 +220,7 @@ static void queue_mouse_event( const MOUSEINPUT *mi, WORD keystate )
}
if
(
mi
->
dwFlags
&
(
!
SwappedButtons
?
MOUSEEVENTF_LEFTUP
:
MOUSEEVENTF_RIGHTUP
))
{
Async
KeyStateTable
[
VK_LBUTTON
]
&=
~
0x80
;
Input
KeyStateTable
[
VK_LBUTTON
]
&=
~
0x80
;
queue_raw_mouse_message
(
WM_LBUTTONUP
,
keystate
,
0
,
PosX
,
PosY
,
mi
->
time
,
mi
->
dwExtraInfo
);
}
...
...
@@ -233,7 +233,7 @@ static void queue_mouse_event( const MOUSEINPUT *mi, WORD keystate )
}
if
(
mi
->
dwFlags
&
(
!
SwappedButtons
?
MOUSEEVENTF_RIGHTUP
:
MOUSEEVENTF_LEFTUP
))
{
Async
KeyStateTable
[
VK_RBUTTON
]
&=
~
0x80
;
Input
KeyStateTable
[
VK_RBUTTON
]
&=
~
0x80
;
queue_raw_mouse_message
(
WM_RBUTTONUP
,
keystate
,
0
,
PosX
,
PosY
,
mi
->
time
,
mi
->
dwExtraInfo
);
}
...
...
@@ -246,7 +246,7 @@ static void queue_mouse_event( const MOUSEINPUT *mi, WORD keystate )
}
if
(
mi
->
dwFlags
&
MOUSEEVENTF_MIDDLEUP
)
{
Async
KeyStateTable
[
VK_MBUTTON
]
&=
~
0x80
;
Input
KeyStateTable
[
VK_MBUTTON
]
&=
~
0x80
;
queue_raw_mouse_message
(
WM_MBUTTONUP
,
keystate
,
0
,
PosX
,
PosY
,
mi
->
time
,
mi
->
dwExtraInfo
);
}
...
...
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