Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
425cc7e0
Commit
425cc7e0
authored
Dec 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Remove some explicit LPARAM/WPARAM casts.
parent
7e2b6248
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
clipboard.c
dlls/winex11.drv/clipboard.c
+1
-1
opengl.c
dlls/winex11.drv/opengl.c
+1
-1
systray.c
dlls/winex11.drv/systray.c
+1
-1
No files found.
dlls/winex11.drv/clipboard.c
View file @
425cc7e0
...
...
@@ -790,7 +790,7 @@ static BOOL X11DRV_CLIPBOARD_RenderFormat(Display *display, LPWINE_CLIPDATA lpDa
* data requested into the clipboard.
*/
TRACE
(
"Sending WM_RENDERFORMAT message to hwnd(%p)
\n
"
,
cbInfo
.
hWndOwner
);
SendMessageW
(
cbInfo
.
hWndOwner
,
WM_RENDERFORMAT
,
(
WPARAM
)
lpData
->
wFormatID
,
0
);
SendMessageW
(
cbInfo
.
hWndOwner
,
WM_RENDERFORMAT
,
lpData
->
wFormatID
,
0
);
if
(
!
lpData
->
hData
)
bret
=
FALSE
;
}
...
...
dlls/winex11.drv/opengl.c
View file @
425cc7e0
...
...
@@ -1601,7 +1601,7 @@ static BOOL internal_SetPixelFormat(X11DRV_PDEVICE *physDev,
return
FALSE
;
}
if
(
!
SendMessageW
(
hwnd
,
WM_X11DRV_SET_WIN_FORMAT
,
(
WPARAM
)
fmt
->
fmt_id
,
0
))
{
if
(
!
SendMessageW
(
hwnd
,
WM_X11DRV_SET_WIN_FORMAT
,
fmt
->
fmt_id
,
0
))
{
ERR
(
"Couldn't set format of the window, returning failure
\n
"
);
return
FALSE
;
}
...
...
dlls/winex11.drv/systray.c
View file @
425cc7e0
...
...
@@ -185,7 +185,7 @@ static LRESULT WINAPI tray_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lp
case
WM_MBUTTONDBLCLK
:
/* notify the owner hwnd of the message */
TRACE
(
"relaying 0x%x
\n
"
,
msg
);
ret
=
PostMessageW
(
icon
->
owner
,
icon
->
callback_message
,
(
WPARAM
)
icon
->
id
,
(
LPARAM
)
msg
);
ret
=
PostMessageW
(
icon
->
owner
,
icon
->
callback_message
,
icon
->
id
,
msg
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_INVALID_WINDOW_HANDLE
))
{
WARN
(
"application window was destroyed, removing icon %u
\n
"
,
icon
->
id
);
...
...
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