Andreas Volz wrote: > Am Thu, 8 Jul 2010 17:17:17 -0300 schrieb Iván Briano (Sachiel): > >> On Thu, Jul 8, 2010 at 4:57 PM, Andreas Volz <li...@brachttal.net> >> wrote: >>> Am Fri, 9 Jul 2010 04:11:22 +1000 schrieb David Seikel: >>> >>>> On Thu, 8 Jul 2010 19:57:13 +0200 Andreas Volz >>>> <li...@brachttal.net> wrote: >>>> >>>>> Am Wed, 7 Jul 2010 21:06:27 -0300 schrieb Iván Briano (Sachiel): >>>>> >>>>> I'm also seeing here some positioning problems with Java >>>>> applications. But I don't see in which way Java is special in X. >>>>> Maybe someone could enlighten me. :-) >>>> I seem to remember in the dim dark past that java did require >>>> special behaviour from the wm. That was added years ago, but >>>> maybe it bit rotted, or maybe java has since developed new quirks? >>>> If I remember, java had it hard coded that it was expecting some >>>> aspect of KDE or GNOME, and we had to fake that to get it to >>>> behave. >>> Has someone more specific information about this? I would like to >>> implement it, but need to know more. >>> >> All I know is there is/was some comment buried in e_border.c about it, >> specifically saying that Java is stupid and some hack was required >> for it to work. > > You mean this: > > /* just to friggin make java happy - we're DELAYING the reparent > until > * eval time... > */ > /* ecore_x_window_reparent(win, bd->client.shell_win, 0, 0); */ > bd->need_reparent = 1; > > Hm, this is commented out, but maybe the bd->need_reparent = 1; does > exact the same. > > Some days ago I noticed also a Java app that does really strange > things. After some time the combo boxes were opened somewhere else than > the window and mouse clicks were all some y pixels relative to the > click position. Really strange, not? I'm not sure if this was E > specific.
No, this from e_hints.c: /* * I don't FUCKING believe it. if we PRETEND we are Kwin - java is happy. * why? it expects a double reparenting wm then. java insists on finding this * out when it should be irrelevant! stupid code! I can't believe the time we * just wasted hunting a bug that wasn't and that is due to sheer stupid * coding (in java's awt layer that swing also uses). */ /* Now for more stupidity... Openoffice.org will change its look and feel * depending on what wm it thinks there is... so if we pretend to be Kwin... * it tries to use kde preferences, if found. */ /* I have disabled this now by pretending to be E16 with e16 comms. this * means java plays nice and uses our FRAME property.. but we had to do other * evil stuff as java EXPECTS all this at REPARENT time... i've deferred * reparenting... i hate java! */ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel