Created attachment 3513[details]
Diff against mikachu's master
This enhancement allows you to use an application as a desktop or dock even if it was not designed for this, eg using a terminal as a desktop/transparent wallpaper. See: http://article.gmane.org/gmane.comp.window-managers.openbox/6893
Patch adds:
* <set_window_prop><type>(desktop,dock)</type></set_window_prop> application setting
* comments in default rc.xml to this effect
* additional debugging info for app matches (incidental, can be removed if undesirable)
Testing:
* Window type set to _DESKTOP: tested, works as expected
* Window type set to _DOCK: tested, matches what I know of expected behaviour for docks (eg always above); behaviour unknown to me may not work
Created attachment 3528[details]
Support setting window type to desktop or dock internally
Updated patch as per dana's comments:
* Removed all references to _OVERRIDE
* Backed out everything that changed _NET_WM_WINDOW_TYPE, we're only setting window type in internal state now
(In reply to Paul G from comment #2)
> Created attachment 3528[details]
> Support setting window type to desktop or dock internally
>
> Updated patch as per dana's comments:
> * Removed all references to _OVERRIDE
> * Backed out everything that changed _NET_WM_WINDOW_TYPE, we're only
> setting window type in internal state now
* Backed out app matching debug info, since it's not relevant to this particular patch.
Created attachment 3514 [details] Correct diff against mikachu's master Oops, wrong diff last time,fixed
Created attachment 3528 [details] Support setting window type to desktop or dock internally Updated patch as per dana's comments: * Removed all references to _OVERRIDE * Backed out everything that changed _NET_WM_WINDOW_TYPE, we're only setting window type in internal state now