From: Andreas V. <li...@br...> - 2010-07-08 21:15:12
|
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...@br...> > 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...@br...> 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. regards Andreas |