Re: FVWM: constraining "maximized" window to some portion of the screen

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 15 Oct 2001 12:20:25 +0200

On Sun, Oct 14, 2001 at 06:20:32PM -0700, Denis Perelyubskiy wrote:
> hello,
>
> is it possible to maximize a window, but so that it only
> goes up to something like 150 pixels from the top of the
> page, but takes up the whole width?

I don't exactly understand if you want. Try one of these:

  # 150 pixels high at 0 0
  Maximize 0 +150p

  # (screen height - 150 pixels) at 0 0
  Maximize 0 -150p

  # 150 pixels high at bottom of screen
  AddToFunc MaximizeAtBottom
  + I Maximize $0 $1
  + Move -0 -0
  MaximizeAtBottom 0 150p

  # (screen height - 150 pixels) at bottom of screen
  AddToFunc MaximizeAtBottom
  + I Maximize $0 $1
  + Move -0 -0
  MaximizeAtBottom 0 -150p

Bye

Dominik ^_^ ^_^

-- 
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Mon Oct 15 2001 - 05:20:49 BST

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