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
de983c22
Commit
de983c22
authored
Nov 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't try to unmap systray windows, it confuses some systray docks.
parent
cdaff0a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
systray.c
dlls/winex11.drv/systray.c
+6
-1
No files found.
dlls/winex11.drv/systray.c
View file @
de983c22
...
...
@@ -432,7 +432,7 @@ void change_systray_owner( Display *display, Window systray_window )
{
struct
tray_icon
*
icon
;
ERR
(
"new owner %lx
\n
"
,
systray_window
);
TRACE
(
"new owner %lx
\n
"
,
systray_window
);
LIST_FOR_EACH_ENTRY
(
icon
,
&
icon_list
,
struct
tray_icon
,
entry
)
{
if
(
icon
->
display
==
-
1
)
continue
;
...
...
@@ -444,10 +444,15 @@ void change_systray_owner( Display *display, Window systray_window )
/* hide a tray icon */
static
BOOL
hide_icon
(
struct
tray_icon
*
icon
)
{
struct
x11drv_win_data
*
data
;
TRACE
(
"id=0x%x, hwnd=%p
\n
"
,
icon
->
id
,
icon
->
owner
);
if
(
!
icon
->
window
)
return
TRUE
;
/* already hidden */
/* make sure we don't try to unmap it, it confuses some systray docks */
if
((
data
=
X11DRV_get_win_data
(
icon
->
window
))
&&
data
->
embedded
)
data
->
mapped
=
FALSE
;
DestroyWindow
(
icon
->
window
);
DestroyWindow
(
icon
->
tooltip
);
icon
->
window
=
0
;
...
...
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