On Thu, Jun 14, 2012 at 10:32:34AM +0200, JUNG, Christian wrote:
> Hello,
> 
> is there a possibility to limit applications which set their _NET_WM_STATE
> to _NET_WM_STATE_FULLSCREEN to the EWMH working area?

No, because the EWMH spec says that fullscreen really is *fullscreen*.

> I would like to start Mozilla Firefox in fullscreen mode (without window
> decoration, menu etc.) and limit it to the working area so that the
> FvwmTaskBar is not hidden by it.

Then you would have to remove the decoration from your window, maximize it
(which by definition now honours the working area by default) and coming out
of that state, restore your decorations.  Perhaps something like:

DestroyFunc Foo
AddToFunc Foo
+ I WindowStyle !Title, !Borders, State 1....
+ I Maximize ...

Coming out of maximize though depends.  You could perhaps use:

DestroyModuleConfig FE:*
*FE: configure_notify Foo2 

AddToFunc StartFunction I Module FvwmEvent FE

DestroyFunc Foo2
AddToFunc   Foo2
+ I ThisWindow (State 1, !Maximized) DestroyWindowStyle

There's probably a worse example used in things like Fvwm-crystal.

-- Thomas Adam

Reply via email to