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
beba1f15
Commit
beba1f15
authored
Oct 08, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Make sure the driver CreateCursorIcon() entry point is always called.
parent
4d7ad03c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
cursoricon.c
dlls/user32/cursoricon.c
+5
-2
No files found.
dlls/user32/cursoricon.c
View file @
beba1f15
...
...
@@ -940,7 +940,6 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO *bmi,
info
->
frames
[
0
].
mask
=
mask
;
info
->
frames
[
0
].
alpha
=
alpha
;
release_icon_ptr
(
hObj
,
info
);
USER_Driver
->
pCreateCursorIcon
(
hObj
);
}
else
{
...
...
@@ -1184,6 +1183,7 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
{
POINT
hotspot
;
BITMAPINFO
*
bmi
;
HICON
icon
;
TRACE_
(
cursor
)(
"%p (%u bytes), ver %08x, %ix%i %s %s
\n
"
,
bits
,
cbSize
,
dwVersion
,
width
,
height
,
...
...
@@ -1205,8 +1205,10 @@ HICON WINAPI CreateIconFromResourceEx( LPBYTE bits, UINT cbSize,
bmi
=
(
BITMAPINFO
*
)(
pt
+
2
);
}
return
CURSORICON_CreateIconFromBMI
(
bmi
,
hotspot
,
bIcon
,
dwVersion
,
icon
=
CURSORICON_CreateIconFromBMI
(
bmi
,
hotspot
,
bIcon
,
dwVersion
,
width
,
height
,
cFlag
);
if
(
icon
)
USER_Driver
->
pCreateCursorIcon
(
icon
);
return
icon
;
}
...
...
@@ -1274,6 +1276,7 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename,
end:
TRACE
(
"loaded %s -> %p
\n
"
,
debugstr_w
(
filename
),
hIcon
);
UnmapViewOfFile
(
bits
);
if
(
hIcon
)
USER_Driver
->
pCreateCursorIcon
(
hIcon
);
return
hIcon
;
}
...
...
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