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
ec42ea4d
Commit
ec42ea4d
authored
Aug 29, 2003
by
Jukka Heinonen
Committed by
Alexandre Julliard
Aug 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround implemented for passing faked mickeys to mouse callback
routine.
parent
f68017b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
int33.c
dlls/winedos/int33.c
+11
-0
No files found.
dlls/winedos/int33.c
View file @
ec42ea4d
...
...
@@ -205,6 +205,17 @@ static void QueueMouseRelay(DWORD mx, DWORD my, WORD mask)
data
->
but
=
mouse_info
.
but
;
data
->
x
=
mouse_info
.
x
;
data
->
y
=
mouse_info
.
y
;
/*
* Fake mickeys.
*
* FIXME: This is not entirely correct. If mouse if moved to the edge
* of the screen, mouse will stop moving and mickeys won't
* be updated even though they should be.
*/
data
->
mx
=
mouse_info
.
x
*
(
mouse_info
.
HMPratio
/
8
);
data
->
my
=
mouse_info
.
y
*
(
mouse_info
.
VMPratio
/
8
);
DOSVM_QueueEvent
(
-
1
,
DOS_PRIORITY_MOUSE
,
MouseRelay
,
data
);
}
}
...
...
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