XFwm4 shade + notification area
J. Anthony Limon
j at flippo.net
Sat Dec 19 22:12:04 CET 2009
Stefan Stuhr wrote:
> On 19-12-2009 17:32, J. Anthony Limon wrote:
>> Well the panel plugin is called the notification area. Apps such as
>> Pidgin, Rhythmbox, etc use it to be minimized to an icon sometimes.
>> Typically to minimize applications to the notification area you can just
>> click the icon (as with Pidgin).
>
> The window manager does not control the icons in the notification area;
> the applications do. Pidgin controls what happens when one clicks on the
> pidgin icon, Rhythmbox when one clicks on the Rhythmbox icon, etc.
>
>> But if you shade the window first and then try to minimize to the
>> notification area, nothing happens.
>
> Looking at the Rhythmbox source code, it appears that when one clicks
> the notification icon, it decides whether to show or hide the window by
> checking the window state flags like so:
> state & (GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_ICONIFIED)
>
>> - J
>
> Stefan
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>
Ah so it's up to the application itself to govern? Interesting.. perhaps
I need to file some feature requests with apps I use. ;)
- J
More information about the Xfce
mailing list