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
cdf88e9c
Commit
cdf88e9c
authored
Dec 24, 2008
by
Andrew Riedi
Committed by
Alexandre Julliard
Dec 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Calculate the cursor bitmap offsets in a way consistent with user32.
parent
56d41bbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mouse.c
dlls/winex11.drv/mouse.c
+3
-3
No files found.
dlls/winex11.drv/mouse.c
View file @
cdf88e9c
...
...
@@ -436,10 +436,10 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
unsigned
char
tmp
;
BOOL
alpha_zero
=
TRUE
;
and_width_bytes
=
ptr
->
nWidth
/
8
;
xor_width_bytes
=
and_width_bytes
*
ptr
->
bBitsPerPixel
;
and_width_bytes
=
2
*
((
ptr
->
nWidth
+
15
)
/
16
)
;
xor_width_bytes
=
ptr
->
nWidthBytes
;
and_size
=
ptr
->
n
Width
*
ptr
->
nHeight
/
8
;
and_size
=
ptr
->
n
Height
*
and_width_bytes
;
and_ptr
=
and_bits
=
(
unsigned
char
*
)(
ptr
+
1
);
xor_ptr
=
xor_bits
=
and_ptr
+
and_size
;
...
...
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