Move frames to and from scratchpad

2008-09-21 Thread Daniel Clemente
At any moment, a frame is either in the scratchpad area (Mod1+Space) or not. I would like to have a single key which commutes between the two states. It would do this action: - If the scratchpad is open, then move the current frame (inside the scratchpad) to the window below the scratchpad.

Re: Move frames to and from scratchpad

2008-10-05 Thread Daniel Clemente
Hi, Canaan Hadley-Voth [EMAIL PROTECTED] writes: I have been using this function to do what you are trying to do. (Though someone else might anticipate further cases where mine also fails, like a WClientWin attached (unframed) to a WGroupWS.) function send_to_or_from_sp(cwin, jumpto)

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

2009-01-15 Thread Daniel Clemente
Hi, sorry if this message comes twice (I posted yesterday via NNTP without being subscribed to the list). ion3 is stealing keyboard focus to Swing applications. This happens for instance with Netbeans 6.5: 1. Open netbeans and some other programs in tabs next to it. 2. Select netbeans and

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

2009-01-20 Thread Daniel Clemente
Daniel Clemente dcl441-b...@yahoo.com writes: I will check it again in other systems. Hi, I tried it with Sun's Java 1.6.0_10 on Debian (another machine). The bug is still present. However, on the same machine, Sun's Java 1.5.0_16-b02 makes my example work as expected (focus

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 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 the

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

2009-03-01 Thread Daniel Clemente
Sorry for the long wait; I had other compilation problems (I inform briefly about that). You could, again, try reversing the order of the finalise_focus and sendmsg in the TAKE_FOCUS branch of the clientwin focus function. That didn't work; with JDK 1.7 it still fails. It must be due

Re: Abandoning darcs

2009-03-31 Thread Daniel Clemente
Yeah, it sucks.. but it's coming in Linux too. I absolutely fucking hate the Desktop directory that every now and then shows up in ~. IT'S MY HOME DIRECTORY YOU GNOME FUCKTARDS! DON'T PUT ANYTHING VISIBLE THERE! I'S ***MNE***, NOT YOURS, YOU PIECE OF SHIT RETARDS!! GET IT?!?!? No, I

Re: License update

2009-09-02 Thread Daniel Clemente
--- Tuomo Valkonen tuo...@iki.fi schrieb am Mi, 2.9.2009: Since I probably won't be working on Ion much, and Ion3 seems very stable anyway, here's an updated license file without the 28-day clause. Thanks, one less restriction. I think this is the way to make Ion nicer for developers.

Re: Lua..

2009-11-18 Thread Daniel Clemente
Baawaawaa, it's not written in My Language Of Choice, so it must be rewritten. That describes something like 49% of FOSS projects The other 49% is baawaawaa, it's not Freeⓡ: it doesn't use My License of Choice. … The remaining 2% may have some originality. wmii is among that 2%: - it