On Sun, Sep 14, 2014 at 11:08:20PM +0300, Tapio Luukkanen wrote:
> On 09/14/14 17:09, Thomas Adam wrote:
> > The closest you have now is the direction mechanism which will calculate
> > which border to warp to based on the pointer's position, relative to the
> > window which is to be resized.  How is having a window's midpoint
> > position relative to the screen useful?

> Now, if the position (quadrant) of the window center is not taken into
> account, each window will grow downwards and to the right... and
> eventually out of view. For windows at the right and bottom halfs,
> shrinking their size would move them farther from the border. These
> behaviours annoy me. I also want to avoid manual resizing from the
> border.

I find the idea interesting, nad maybe I've tried something similar
in the past, by I can't remember.  But there is an odd script on my
disk that may help you (see attachment).

The most difficult part of this is to find a natural way to say in
*which* direction you want to resize the window.  Then it should be
not too difficult to issue commands to change the size by one
character or ten pixels; the resizemove command has syntax to
support this. e.g. "resize keep w+1c".

Normally you would use the gravity of a window to determine the
direction in which it grows.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt

Attachment: fvwm_nearest_edge.sh
Description: Bourne shell script

Reply via email to