At 1246404341 time_t, dante4d wrote:
> So I step into isTraySupported():
> 
>     public boolean isTraySupported() {
>         int wm = XWM.getWMID();
>         if (wm == XWM.METACITY_WM || wm == XWM.KDE2_WM)
>         {
>             return true;
>         }
>         return false;
>     }

For god's sake, how can this guys be so lame. That's fucking impressive.

> *Anyway, I question myself how should I proceed?
> *
> 
>    1. *Probably, I could trick Java into thinking I run Metacity WM (which
>    is a nasty hack I'd say)...*

Yes, probably the simpler way.

>    2. *I can do something so the JRE code gets updated and recognizes
>    awesome as systray capable WM, but that's probably a long way to go. But I
>    believe it's the right one...*

I don't know which versino of JRE you use, but it might be possible that
it's fixed this 1.7. I heard that the reparenting problem is also fixed
in this version, but I did not test.

>    3. *I can use some other way to obtain SystemTray instance...*

Probably. In fact, if the check would return true, you probably get the
SystemTray.

4. Stop using Java.

Cheers,
-- 
Julien Danjou
// ᐰ <jul...@danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Life is life. Lalalalala.

Attachment: signature.asc
Description: Digital signature

Reply via email to