Re: FVWM: Mouseless operation

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 26 Aug 2003 08:57:47 +0200

On Tue, Aug 26, 2003 at 08:40:03AM +0200, Erik Thiele wrote:
> Hi.
>
> I am setting up diskless terminals for users in a rough environment.
> so there are no mouses either.
>
> i hide the mousepointer with the "unclutter" program. works well.
>
> i setup the fvwm config to have no decorations no menus no fancy stuff.
>
> but what i need now is that all new windows are centered on screen. i cannot
> find an option for this. instead they are placed topleft, or if they
> are dialogs, they are centered in their mother window.
>
> i am using Qt library to develop my program.
>
> is there a way to center all new windows????

I don't know about Qt, but in plain X, you can set the win_gravity
field of the window's size hints to CenterGravity with
XSetWMNormalHints() and use (XDisplayWidth() / 2,
XDisplayHeight() / 2) as its starting position.

See Q 3.18 in the fvwm FAQ for a description how you can do it
with the window manager.

Bye

Dominik ^_^ ^_^
--
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 Tue Aug 26 2003 - 01:58:35 BST

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