SystemTray: docked Java Window size is too small



Hello,

I wrote a little JNI (Java native Interface) Shared Library for a Java 
Application (www.tvbrowser.org) which docks a Java Window into the X11 System 
Tray Area.
This works fine under certain Windowmanagers/DEs (we tried KDE, Fluxbox, Xfce) 
- but in Gnome the docked window does not have the size 21x21 (as it should 
be) but there is a (about) 1-2px wide strip in the Systray Area instead. 

Unfortunately I was not able to track this problem down.
The code can be found here:
http://cvs.sourceforge.net/viewcvs.py/tvbrowser/tvbrowser/deployment/x11/src/

jni_wrapper.c > just a file that handles the JNI calls and wraps them to 
functions declared in x11_systray_window.c

It's not really much code - because the event handling etc are done in Java.
I hope anyone is able to tell me why the size of the docked Window is not 
21x21 as specified in the Standard.
I think there must be a missing Xevent or Xfunction call...

Thank you very much in advance
for your suggestions and help,
stefan walkner

Attachment: pgpXknY9GDR25.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]