From: Stéphane B. <ste...@gm...> - 2009-05-05 20:30:55
|
Hi all, as some of you may know I am working to improve the tray icon. Sadly it is a really hard work and requires a lot of energy... The results so far are good, but I get to a point where I need some more brain power to figure out what is wrong, so here I am with patches and an explanation of what happens. First the patches. For now you'll have to live with git-style patches, when everything will be fixed and cleaned I will send svn diffs. You can find all the patches here: http://www.sbisinger.net/amsn/ Now here is what I am trying to do: I am trying to make the tray icon appear when aMSN is started BEFORE a system tray is available. The detection of the new tray is correct, but - as you will see if you used ./configure --enable-debugging - the tray window will be of size 1x1 instead of 24x24 (which is the defined minimum width and height). I can't figure out why this happens!! The code used for window creation is exactly the same in both cases (if you dive into the code you'll see that) so I really can't figure it out. Any ideas/suggestions? Also, on a sidenote, I'd like you to test if the normal behaviour is the same as before... My tests seeem to indicate I did it right, but who knows? Thanks! P.S.: If some of you would like to understand better how the communication between aMSN -> tray works, here are the relevant specs: http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html [System Tray] http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html [XEmbed] http://tronche.com/gui/x/icccm/sec-2.html#s-2.8 [ICCCM Manager Selections] -- Stéphane |