Re: Keyboard focus lost in Swing applications (ex: Netbeans) after changing to window

2009-02-08 Thread Daniel Clemente
Hi; thanks for the helpful explanations. I tried doing that change and it stayed the same. I also tried doing a sleep(2) before sending the WM_TAKE_FOCUS (with the +2s timestamp), but without success. What did work is this: static void clientwin_do_set_focus(WClientWin *cwin, bool warp) {

Re: Keyboard focus lost in Swing applications (ex: Netbeans) after changing to window

2009-02-08 Thread Tuomo Valkonen
On 2009-02-08 21:52 +0100, Daniel Clemente wrote: > > Hi; thanks for the helpful explanations. > > I tried doing that change and it stayed the same. I also tried doing a > sleep(2) before sending the WM_TAKE_FOCUS (with the +2s timestamp), but > without success. > > What did work is this:

Re: Keyboard focus lost in Swing applications (ex: Netbeans) after changing to window

2009-02-08 Thread Daniel Clemente
> > Try the attached patch. (Disclaimer: I haven't particularly tried it; > just quickly threw it together.) Well, it improved lots of things. It works perfectly with gtk, qt, tk, keyboard, mouse, … The example code now works when I use Java 1.6.0_12-b04. But if I compile and run it with t

signal 11 from X 1.4.2 with nvidia driver

2009-02-08 Thread Antonio De Leon
Im getting a signal 11 from X using the nvidia drivers from nvidia 180.22 and fixed it passing "Option "SWcursor" "true" " in the Device section of xorg.conf, it only happens when using ion3 from 200808 onwards. xfce and others work normally. running on slackware 12.2 / xo