Re: Scratchpad vs. access focus history

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2007-05-10, Vladimir Chizhov <[email protected]> wrote:
> 2007/5/6, intrigeri <[email protected]>:
>> 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...
>
> Also, you can try the wcirculate.lua script. It filters windows (be
> careful: windows, not frames) by the specific boolean winprop:
> winlist_ignore. It works for me.

wcirculate is obsolete. The same (and more) functionality is included 
in the Mod1+K K binding `mod_menu.grabmenu(_, _sub, 'focuslist')`.
You might want to study that code. (The `focuslist` menu puts windows
with activity at top, `focuslist_` doesn't.)

-- 
Tuomo
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.