Re: [kaffe] initial frame position
Gianluca Moro wrote: hi all, I'm running kagge with a graphical output directly on X, without any window manager. I see that all the applicatio I start are placed in (0,0) (upper lefr corner of the screen) while starting my java application under kaffe it is placed in a bit on the left, and below the upper screen (about (5,30)). I think that you are using kaffe-x-awt AWT ? Then there is an heuristic algorithm to detect the size of the decoration which is applied to a frame. In the case there is no WM maybe it is wrong. However it is possible to disengage the heuristic by removing the property EXTERNAL_DECO in libraries/clib/awt/X/tlk.c:tlkProperties(). Could you try this ? sorry for the delay: I just take up the kaffe work again :-) I tested the modification with no results :-( the window is some (8/9) pixel more shifted to the bottom ... thanks giammy -- Gianluca Moro http://groups.yahoo.com/group/embeddeditalia/ ISCRIVITI alla Mailing List Italiana su LINUX EMBEDDED [EMAIL PROTECTED] Visit http://ilpinguino.altervista.org/ ___ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] initial frame position
hi all, I'm running kagge with a graphical output directly on X, without any window manager. I see that all the applicatio I start are placed in (0,0) (upper lefr corner of the screen) while starting my java application under kaffe it is placed in a bit on the left, and below the upper screen (about (5,30)). I imagine this is some default setted in kaffe or in the java interface: is there an option to force the position in (0,0), osmething analogous to give -geometry +0+0? (My test: # LD_PRELOAD=/usr/X11R6/lib/libX11.so:/usr/lib/libpng.so:/usr/lib/libz.so:/usr/local/lib/libjpeg.so /usr/local/kaffe/bin/kaffe -geometry +0+0 -Dkaffe.awt.nativelib=xawt -Xbootclasspath/p:/usr/local/kaffe/kaffeawt.jar Jnoti gives: java.lang.ClassNotFoundException: +0+0 not found in java.lang.ClassLoader$1{urls=[file:/etc/init.d/./], parent=null} thanks giammy -- Gianluca Moro http://groups.yahoo.com/group/embeddeditalia/ ISCRIVITI alla Mailing List Italiana su LINUX EMBEDDED [EMAIL PROTECTED] Visit http://ilpinguino.altervista.org/ ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] initial frame position
Gianluca Moro wrote: hi all, I'm running kagge with a graphical output directly on X, without any window manager. I see that all the applicatio I start are placed in (0,0) (upper lefr corner of the screen) while starting my java application under kaffe it is placed in a bit on the left, and below the upper screen (about (5,30)). I think that you are using kaffe-x-awt AWT ? Then there is an heuristic algorithm to detect the size of the decoration which is applied to a frame. In the case there is no WM maybe it is wrong. However it is possible to disengage the heuristic by removing the property EXTERNAL_DECO in libraries/clib/awt/X/tlk.c:tlkProperties(). Could you try this ? Thanks, Regards, Guilhem. I imagine this is some default setted in kaffe or in the java interface: is there an option to force the position in (0,0), osmething analogous to give -geometry +0+0? (My test: # LD_PRELOAD=/usr/X11R6/lib/libX11.so:/usr/lib/libpng.so:/usr/lib/libz.so:/usr/local/lib/libjpeg.so /usr/local/kaffe/bin/kaffe -geometry +0+0 -Dkaffe.awt.nativelib=xawt -Xbootclasspath/p:/usr/local/kaffe/kaffeawt.jar Jnoti gives: java.lang.ClassNotFoundException: +0+0 not found in java.lang.ClassLoader$1{urls=[file:/etc/init.d/./], parent=null} thanks giammy -- Gianluca Moro http://groups.yahoo.com/group/embeddeditalia/ ISCRIVITI alla Mailing List Italiana su LINUX EMBEDDED [EMAIL PROTECTED] Visit http://ilpinguino.altervista.org/ ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe