Discussion:
FVWM: ResizeMoveMaximize and EwmhBaseStruts issue
Walter Alejandro Iglesias
2014-07-18 11:54:03 UTC
Permalink
Hello,

I discovered today the ResizeMoveMaximize function. I find it useful
for maximize windows in half screen. But seems it doesn't understand
well EwmhBaseStruts (fvwm.2.6.5). For example:

With:

EwmhBaseStruts 0 72 0 0

The commands:

ResizeMoveMaximize frame 50 100 0 0
ResizeMoveMaximize frame 100 50 0 0
ResizeMoveMaximize frame 100 50 0 50

Ignore the Ewmh setting, and:

ResizeMoveMaximize frame 50 100 50 0

besides places the window some pixels to the right.



Walter
Dominik Vogt
2014-08-13 20:37:56 UTC
Permalink
Post by Walter Alejandro Iglesias
I discovered today the ResizeMoveMaximize function. I find it useful
for maximize windows in half screen. But seems it doesn't understand
EwmhBaseStruts 0 72 0 0
ResizeMoveMaximize frame 50 100 0 0
ResizeMoveMaximize frame 100 50 0 0
ResizeMoveMaximize frame 100 50 0 50
ResizeMoveMaximize frame 50 100 50 0
besides places the window some pixels to the right.
The Resize like commands do not honour the EWMH working area
because in the fvwm philosophy it is wrong to force application
choices (like the struts set by the deskto environment) on the
user.

However, with my latest commits, you can add the suffix "wa" or
"da" to the Resize arguments. Then only the given percentage of
the size of the working area or dynamic working area is used. E.
g.

ResizeMoveMaximize 100wa 100wa 0 0

Ciao

Dominik ^_^ ^_^
--
Dominik Vogt
Loading...