[openbox] Change _NET_WM_WINDOW_TYPE on the fly

Yen-Ju Chen yjchenx at gmail.com
Mon Sep 4 00:02:03 EDT 2006


On 9/3/06, Mikael Magnusson <mangosoft at comhem.se> wrote:
> On Sun, 3 Sep 2006, Yen-Ju Chen wrote:
>
> > I notice that openbox3 only read _NET_WM_WINDOW_TYPE when it starts.
> > Therefore, I cannot change _NET_WM_WINDOW_TYPE of my program after openbox.
> > I know it is a rare situation.
> > But it is useful if I want to drag a program and "dock" it on the side
> > of screen.
> > In this case, the window type change from _NET_WM_WINDOW_TYPE_NORMAL
> > to _NET_WM_WINDOW_TYPE_DOCK.
> > Can openbox support changing the window type on the fly ?
> > Thanx.
>
> From the wm-spec on freedesktop.org,
> > This SHOULD be set by the Client before mapping to a list of atoms
>                                     ^^^^^^^^^^^^^^
> > indicating the functional type of the window. This property SHOULD be
> > used by the window manager in determining the decoration, stacking
> > position and other behavior of the window. The Client SHOULD specify
> > window types in order of preference (the first being most preferable)
> > but MUST include at least one of the basic window type atoms from the
> > list below. This is to allow for extension of the list of types whilst
> > providing default behavior for Window Managers that do not recognize the
> > extensions.
>
> Maybe you can unmap your window, change the type and remap it (or another
> window)?

  Hmm... I see.
  Thanx.

  Yen-Ju

>
> --
> Mikael Magnusson
>



More information about the openbox mailing list