Merge lp:~didrocks/unity/fix-706109 into lp:unity

Proposed by Didier Roche-Tolomelli
Status: Merged
Merged at revision: 784
Proposed branch: lp:~didrocks/unity/fix-706109
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
src/Launcher.cpp (+1/-1)
To merge this branch: bzr merge lp:~didrocks/unity/fix-706109
Reviewer Review Type Date Requested Status
Mikkel Kamstrup Erlandsen (community) Approve
Review via email: mp+47235@code.launchpad.net

Description of the change

Enable _NET_WM_WINDOW_TYPE_UTILITY (like gimp toolbox) to hide the launcher

To post a comment you must log in.
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

 review approve

Looks good to me

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Launcher.cpp'
2--- src/Launcher.cpp 2011-01-14 18:17:34 +0000
3+++ src/Launcher.cpp 2011-01-24 10:30:54 +0000
4@@ -1012,7 +1012,7 @@
5 {
6 CompWindow *window = *it;
7 int intersect_types = CompWindowTypeNormalMask | CompWindowTypeDialogMask |
8- CompWindowTypeModalDialogMask;
9+ CompWindowTypeModalDialogMask | CompWindowTypeUtilMask;
10
11 if (!(window->type () & intersect_types) || !window->isMapped () || !window->isViewable ())
12 continue;