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
d91a87ce
Commit
d91a87ce
authored
Jan 30, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fix the definition of NOTIFYICON_VERSION[_4].
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cde11289
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
systray.c
dlls/winemac.drv/systray.c
+1
-1
systray.c
dlls/winex11.drv/systray.c
+1
-1
shellapi.h
include/shellapi.h
+2
-2
systray.c
programs/explorer/systray.c
+1
-1
No files found.
dlls/winemac.drv/systray.c
View file @
d91a87ce
...
...
@@ -283,7 +283,7 @@ static BOOL notify_owner(struct tray_icon *icon, UINT msg, int x, int y)
WPARAM
wp
=
icon
->
id
;
LPARAM
lp
=
msg
;
if
(
icon
->
version
>=
NOTIFY_VERSION_4
)
if
(
icon
->
version
>=
NOTIFY
ICON
_VERSION_4
)
{
wp
=
MAKEWPARAM
(
x
,
y
);
lp
=
MAKELPARAM
(
msg
,
icon
->
id
);
...
...
dlls/winex11.drv/systray.c
View file @
d91a87ce
...
...
@@ -441,7 +441,7 @@ static BOOL notify_owner( struct tray_icon *icon, UINT msg, LPARAM lparam )
WPARAM
wp
=
icon
->
id
;
LPARAM
lp
=
msg
;
if
(
icon
->
version
>=
NOTIFY_VERSION_4
)
if
(
icon
->
version
>=
NOTIFY
ICON
_VERSION_4
)
{
POINT
pt
=
{
(
short
)
LOWORD
(
lparam
),
(
short
)
HIWORD
(
lparam
)
};
...
...
include/shellapi.h
View file @
d91a87ce
...
...
@@ -378,8 +378,8 @@ void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lp
#define NIM_SETFOCUS 0x00000003
#define NIM_SETVERSION 0x00000004
#define NOTIFY
_VERSION 3
/* supported by Windows 2000 and later */
#define NOTIFY
_VERSION_4 4
/* supported by Windows Vista */
#define NOTIFY
ICON_VERSION 3
#define NOTIFY
ICON_VERSION_4 4
/* callback message lParam values */
#define NIN_SELECT (WM_USER+0)
...
...
programs/explorer/systray.c
View file @
d91a87ce
...
...
@@ -723,7 +723,7 @@ static BOOL notify_owner( struct icon *icon, UINT msg, POINT pt )
WPARAM
wp
=
icon
->
id
;
LPARAM
lp
=
msg
;
if
(
icon
->
version
>=
NOTIFY_VERSION_4
)
if
(
icon
->
version
>=
NOTIFY
ICON
_VERSION_4
)
{
ClientToScreen
(
tray_window
,
&
pt
);
wp
=
MAKEWPARAM
(
pt
.
x
,
pt
.
y
);
...
...
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