Re: FVWM: window resizing - How to get standard behavior?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 20 Jul 2002 03:39:32 +0000

On 19 Jul 2002 12:06:04 +0200, Hans-Georg Beyer wrote:
>
> Changing to SuSE 8.0 Linux, the default resizing behavior as described
> in man fvwm2:
>
> Unless the standard defaults files are modified, pressing
> mouse button 1 in the title or side-bars begins a move
> operation on the window. Pressing button 1 in the corner
> frame pieces begins a resize operation. Pressing button 2

I am not sure why it is named standard, "minimal" would be a better name.
The minimal defaults (when there is no configuration at all) are not
supposed to be fully featured or convinient, just to have move and resize.

> has changed, i.e.: windows are not moved when pressing mouse button 1
> in the side-bars, but resizing starts. I want to have the standard
> behavior (i.e., move the window, resizing only when in the corner
> frame pieces). How do I get this using my .fvwm2rc config file?

The behaviour that you describe, i.e. the mouse button 1 resizes a window
anywhere on the frame is pretty standard. At least that is what I saw in
most of window manager configurations including fvwm and (tried in Xnest)
the default configurations of mwm, sawfish, enlightenment, wmaker, icewm.

I suggest you to add a window move by binding it to mouse button 2.
You may add these or similar lines to your ~/.fvwm/.fvwm2rc:

  Mouse 1 SF A Resize
  Mouse 2 SF A Move

Here is an example of some more featured window frame bindings:

  Mouse 1 SF A ResizeOrRaiseOrShade
  Mouse 1 T A MoveOrRaiseOrShade
  Mouse 2 SF A MoveOrRaiseLower
  Mouse 2 T A MoveOrRaiseLower

  AddToFunc ResizeOrRaiseOrShade
  + H Resize
  + M Resize
  + C Raise
  + D WindowShade

  AddToFunc MoveOrRaiseOrShade
  + H Move
  + M Move
  + C Raise
  + D WindowShade

  AddToFunc MoveOrRaiseLower
  + H Move
  + M Move
  + C RaiseLower

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jul 19 2002 - 22:40:28 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST