[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Change _NET_WM_WINDOW_TYPE on the fly
From:       yjchenx () gmail ! com (Yen-Ju Chen)
Date:       2006-09-04 4:02:03
Message-ID: f514e4aa0609032102g73a4d6d4ia5cdb0826837d13e () mail ! gmail ! com
[Download RAW message or body]

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
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic