[openbox] Is there any hidden action

Mikael Magnusson mangosoft at comhem.se
Wed May 7 14:15:42 EDT 2008


On Thu, 8 May 2008, weakish wrote:

> Haven't found something like hidden in Openbox's action list.
>
> Is there a way to hide one window under Openbox?
>
> Right now I use an external program wmctrl:
>
> 	wmctrl -x -r xterm -b add,hidden
>
> But I'm wondering how to do this via Openbox's built-in actions.
>
> We have iconfy, shade, max and other actions in Openbox. But I can't
> find the action to hide a window. Does I missing something? Someone
> could give me some hint?

You're probably a bit confused, see this section in the wm-spec:

"
_NET_WM_STATE_HIDDEN should be set by the Window Manager to indicate that 
a window would not be visible on the screen if its desktop/viewport were 
active and its coordinates were within the screen bounds. The canonical 
example is that minimized windows should be in the _NET_WM_STATE_HIDDEN 
state. Pagers and similar applications should use _NET_WM_STATE_HIDDEN 
instead of WM_STATE to decide whether to display a window in miniature 
representations of the windows on a desktop.

Implementation note: if an Application asks to toggle _NET_WM_STATE_HIDDEN 
the Window Manager should probably just ignore the request, since 
_NET_WM_STATE_HIDDEN is a function of some other aspect of the window such 
as minimization, rather than an independent state. 
"

-- 
Mikael Magnusson



More information about the openbox mailing list