Re: SystemTray: docked Java Window size is too small



Hi,

Le mardi 27 d�mbre 2005 �9:47 +0100, Stefan Walkner a �it :
> 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...

Does it work if you compile the notification area with the patch in
http://bugzilla.gnome.org/show_bug.cgi?id=108864 ?

Vincent

-- 
Les gens heureux ne sont pas press�




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