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
5e1e682a
Commit
5e1e682a
authored
Jun 17, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Fix hiding the taskbar when there are no system tray items.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
41d01871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
systray.c
programs/explorer/systray.c
+3
-2
No files found.
programs/explorer/systray.c
View file @
5e1e682a
...
...
@@ -118,6 +118,7 @@ static HWND balloon_window;
#define WM_POPUPSYSTEMMENU 0x0313
static
void
do_hide_systray
(
void
);
static
void
do_show_systray
(
void
);
/* Retrieves icon record by owner window and ID */
...
...
@@ -366,7 +367,7 @@ static BOOL hide_icon(struct icon *icon)
invalidate_icons
(
icon
->
display
,
nb_displayed
);
icon
->
display
=
-
1
;
if
(
!
nb_displayed
&&
!
enable_shell
)
ShowWindow
(
tray_window
,
SW_HIDE
);
if
(
!
nb_displayed
&&
!
enable_shell
)
do_hide_systray
(
);
update_balloon
(
icon
);
update_tooltip_position
(
icon
);
...
...
@@ -747,7 +748,7 @@ static LRESULT WINAPI tray_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
return
handle_incoming
((
HWND
)
wparam
,
(
COPYDATASTRUCT
*
)
lparam
);
case
WM_DISPLAYCHANGE
:
if
(
hide_systray
)
do_hide_systray
();
if
(
hide_systray
||
(
!
nb_displayed
&&
!
enable_shell
)
)
do_hide_systray
();
else
do_show_systray
();
break
;
...
...
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