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
2027c8ee
Commit
2027c8ee
authored
May 14, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
May 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Create systray for the null graphics driver.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
50ca64fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
desktop.c
programs/explorer/desktop.c
+8
-12
systray.c
programs/explorer/systray.c
+1
-1
No files found.
programs/explorer/desktop.c
View file @
2027c8ee
...
...
@@ -959,6 +959,7 @@ void manage_desktop( WCHAR *arg )
const
WCHAR
*
name
=
NULL
;
BOOL
enable_shell
=
FALSE
;
void
(
WINAPI
*
pShellDDEInit
)(
BOOL
)
=
NULL
;
HMODULE
shell32
;
/* get the rest of the command line (if any) */
while
(
*
p
&&
!
is_whitespace
(
*
p
))
p
++
;
...
...
@@ -1028,20 +1029,15 @@ void manage_desktop( WCHAR *arg )
initialize_display_settings
();
initialize_appbar
();
if
(
graphics_driver
)
{
HMODULE
shell32
;
if
(
using_root
)
enable_shell
=
FALSE
;
if
(
using_root
)
enable_shell
=
FALSE
;
initialize_systray
(
graphics_driver
,
using_root
,
enable_shell
);
if
(
!
using_root
)
initialize_launchers
(
hwnd
);
initialize_systray
(
graphics_driver
,
using_root
,
enable_shell
);
if
(
!
using_root
)
initialize_launchers
(
hwnd
);
if
((
shell32
=
LoadLibraryW
(
L"shell32.dll"
))
&&
(
pShellDDEInit
=
(
void
*
)
GetProcAddress
(
shell32
,
(
LPCSTR
)
188
)))
{
pShellDDEInit
(
TRUE
);
}
if
((
shell32
=
LoadLibraryW
(
L"shell32.dll"
))
&&
(
pShellDDEInit
=
(
void
*
)
GetProcAddress
(
shell32
,
(
LPCSTR
)
188
)))
{
pShellDDEInit
(
TRUE
);
}
}
...
...
programs/explorer/systray.c
View file @
2027c8ee
...
...
@@ -900,7 +900,7 @@ void initialize_systray( HMODULE graphics_driver, BOOL using_root, BOOL arg_enab
WNDCLASSEXW
class
;
static
const
WCHAR
classname
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
,
0
};
if
(
using_root
)
wine_notify_icon
=
(
void
*
)
GetProcAddress
(
graphics_driver
,
"wine_notify_icon"
);
if
(
using_root
&&
graphics_driver
)
wine_notify_icon
=
(
void
*
)
GetProcAddress
(
graphics_driver
,
"wine_notify_icon"
);
icon_cx
=
GetSystemMetrics
(
SM_CXSMICON
)
+
2
*
ICON_BORDER
;
icon_cy
=
GetSystemMetrics
(
SM_CYSMICON
)
+
2
*
ICON_BORDER
;
...
...
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