Hi, all! I was playing around systray icons in various modes 1) "allow the window manager to control the windows"="on" "emulate a virtual desktop"="off"
As result, systray icon is OK.
2) In other combination of these parameters, the icon is drawn with window title.
I've tried to investigate the problem and created the patch (attached). But it solves the problem only in non-desktop modes. In desktop modes only window title is drawn.
So the questions: 1) Does systray icon helper window really need to be created with WS_CAPTION style? 2) What does "managed" mode mean? 3) When I select "desktop" mode, should we disable the "managed" checkbox?
Thanks in advance,
-- Kirill K. Smirnov
Hi Krill,
On Thu, 2006-12-28 at 13:14 +0300, Kirill K. Smirnov wrote:
So the questions:
- Does systray icon helper window really need to be created with WS_CAPTION
style?
Unfortunately, yes. The way the helper window is currently implemented, if you remove the WS_CAPTION style, the icon won't be centered when it gets docked (in GNOME at least.) I tried that when I put together the systray tooltips patch. Ultimately it caused more problems than it solved, so I gave up on it. But, it would be really great if you could figure it out. :)
James