Open frame to the right of the parent window

2008-05-23 Thread Daniel Clemente
Hi, there's just one thing I still couldn't configure in ion3, namely a solution to cases like the following: - a slow program will open shortly in workspace 3, and I must stay waiting at workspace 3 because I want it to be really in workspace 3 (and no other) when it pops up - I am in works

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-09-24 Thread Daniel Clemente
Hi, I start with the easy one. >> - If the scratchpad is not open, then move the current frame to the >> scratchpad. Don't open the scratchpad > This should be rather easy. Just use ioncore.lookup_region to find one named > "*scratchpad*", and use WMPlex.attach on it. I tried: WMPlex.atta

Re: Move frames to and from scratchpad

2008-09-24 Thread Daniel Clemente
Tuomo Valkonen <[EMAIL PROTECTED]> writes: > Your _ probably points wrong, i.e. your in the wrong bindings section. > _:screen_of() should always give the screen. (Note that it's shorter > to call _:mx_current() or _:screen_of():mx_current() than to type the > full function names.) > After t

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, jumpt

Disable automatic saving of workspace (frame layout)

2008-11-06 Thread Daniel Clemente
Hi. Here: http://www.modeemi.fi/~tuomov/ion/faq/entries/Saving_layout.html it says: -- How do I save workspace and frame layout? Ion does it automatically for you when you exit it cleanly. -- Can ion be configured not to do this? I would like to read my layout always from saved_l

Re: Disable automatic saving of workspace (frame layout)

2008-11-06 Thread Daniel Clemente
Tuomo Valkonen <[EMAIL PROTECTED]> writes: > Exit with ioncore.resign() instead of ioncore.shutdown() The session is saved not only on exit but also on restart: /*EXTL_DOC * Restart, saving session first. */ EXTL_EXPORT void ioncore_restart() { set_other(NULL); if(smhook!=NULL){

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 o

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

2009-01-16 Thread Daniel Clemente
Tuomo Valkonen writes: > On 2009-01-15, Daniel Clemente wrote: >> In fact any Swing application has this problem. > > Tried; works for me. I was using Ubuntu GNU/Linux 8.04.1 with these packages: ii linux-image-generic2.6.24.21.23 Generic Linux kernel

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

2009-01-20 Thread Daniel Clemente
Daniel Clemente 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 is not lo

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 t

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

Difficulties when running ion on place

2009-03-01 Thread Daniel Clemente
Hi, I tried to compile and run ion3 without installing it and I took apparently the painful way. I ended up copying most .lua and configuration files to ~/.ion3/lib just because ion3 was looking for them there and otherwise couldn't find them. (Why can't it try also in the current directory?)

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?!?!? >

Re: License update

2009-09-02 Thread Daniel Clemente
--- Tuomo Valkonen 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. In fact I

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