[openbox] [PATCH] Window "Remember" keybind action
daniel at dretzq.org.uk
Mon Dec 28 21:20:10 EST 2009
One of the features I missed after I'd switched from WindowMaker was the
ability to very quickly assign a "switch-to" hotkey for a window. I've
written a patch against Openbox version 184.108.40.206 to implement a very basic
"remember-this-window" keybind action.
The same thing is perfectly possibly with wmctrl and some shell scripts, but
I like having the faster response.
There are more details in the remember.c file created by the patch.
I mostly wrote this for my own gratification, but thought I'd share anyway.
I apologize in advance if the code does not meet expectations or quality
standards, it's been some years since I last did C in earnest.
In a future version, I hope to change the "remember" action into separate
"remember / recall / recall-or-remember / forget" actions, but I need to
re-familiarize myself with GHashArray first.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1695 bytes
Desc: not available
More information about the openbox