[openbox] [PATCH] Window "Remember" keybind action

Daniel Ramsay daniel at dretzq.org.uk
Mon Dec 28 21:20:10 EST 2009


Hi - 

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

Many thanks,

Daniel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbox_3-4-7-2_remember_window.patch.gz
Type: application/octet-stream
Size: 1695 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20091229/9119f4a6/attachment.obj>


More information about the openbox mailing list