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
30398d6f
Commit
30398d6f
authored
Dec 14, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Set the width and height when creating a caret from an existing bitmap.
This was omitted in
b8732c80
. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53485
parent
d904f84e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
input.c
dlls/win32u/input.c
+2
-0
No files found.
dlls/win32u/input.c
View file @
30398d6f
...
...
@@ -1843,6 +1843,8 @@ BOOL WINAPI NtUserCreateCaret( HWND hwnd, HBITMAP bitmap, int width, int height
BITMAP
bitmap_data
;
if
(
!
NtGdiExtGetObjectW
(
bitmap
,
sizeof
(
bitmap_data
),
&
bitmap_data
))
return
FALSE
;
width
=
bitmap_data
.
bmWidth
;
height
=
bitmap_data
.
bmHeight
;
caret_bitmap
=
NtGdiCreateBitmap
(
bitmap_data
.
bmWidth
,
bitmap_data
.
bmHeight
,
bitmap_data
.
bmPlanes
,
bitmap_data
.
bmBitsPixel
,
NULL
);
if
(
caret_bitmap
)
...
...
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