Scratchpad vs. access focus history

intrigeri <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Hello,

I just started using Ion3 (20070318), and playing with LUA to make it
suit my needs. Yes, I've read the "Reporting bugs" FAQ and was able to
reach #6 :)

There's one thing that annoys me : the ioncore.goto_previous function
does not ignore scratchpads, and this is what happens :
  - I toggle a scratchpad display on, then off
  - I run ioncore.goto_previous() a first time : this toggles this
    scratchpad display on
  - I run ioncore.goto_previous() a second time : nothing happens

(NB : I'm using the named_scratchpad contrib. Anyway, what I'm
describing above happens with the standard *scratchpad* as well as
with my own named scratchpads.)

Is this the intended behavior ?

If yes, I want to write in LUA a function that would act just as
ioncore_goto_previous, but would ignore the scratchpads from the focus
history list. But I could not find how to access it in LUA. Is it made
public to LUA ? Or is there a way to access a WRegion's active_next ?
Or am I bound to do it in C ? I've seen the wcirculate contrib seems
to manage its own focus history list, using the appropriate hooks, so
I guess there is no other way, but I hope I'm wrong...

Ciao,
-- 
  intrigeri <[email protected]>
  | gnupg key @ http://intrigeri.boum.org/intrigeri.asc
  | Then we'll come from the shadows.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.