Re: FVWM: Focus and fvwm1 look

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 5 Apr 2003 17:46:48 +0000

On 05 Apr 2003 17:34:05 +0200, Thomas Kaehn wrote:
>
> Is there a possibility to make it look like fvwm1?
>
> Especially the window frame seems to have changed (additional colored
> line, different colors). You can take a look at
> "http://www.alsdorf-online.de/fvwm/" for the difference.

You can't change the 3d effect of a window border, it is hardcoded.
But you may try to adjust other things. I used:

  TitleStyle Simple # not really needed unless you want to change decors
  TitleStyle Centered Height 18
  ButtonStyle 1 5 23x40_at_1 23x60_at_1 77x60_at_0 77x40_at_0 23x40_at_1

  Colorset 1 fg black, bg rgb:5f/9f/bf, hi rgb:87/e0/f8, sh rgb:2f/4f/5f
  Colorset 2 fg black, bg rgb:bf/5f/6f, hi rgb:f8/87/97, sh rgb:5f/2f/37

  Style * Colorset 1, HilightColorset 2
  Style * BorderColorset 1, HilightBorderColorset 2
  Style * BorderWidth 4, HandleWidth 5
  Style * Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*

It looks the most closer to your "old" screenshot that I may think of.

> Second, is it possible to change the color for inactive sticky windows
> instead of changing the title bar to "StippledTitle" (old
> StickyBackColor command). I've already tried to do it by changing the
> style, when changing to/from sticky. Unfortunately I didn't succeed.

No, currently it is not generally possible.

> I changed my WindowListFunc to...
> DestroyFunc WindowListFunc
> AddToFunc WindowListFunc
> + I WindowId $0 Raise
> + I WindowId $0 FlipFocus
>
> ... and added a Key:
> Key F7 A M Next (AcceptsFocus,CurrentPage) SwitchToApp
> AddToFunc SwitchToApp
> + I Focus
> + I Raise
>
> Pressing Alt-F7 raises and focusses the next window (desired effect).
> When selecting a window using the WindowList the window raises, but it
> is not focussed, unless the mouse pointer is in the root window or by
> accident in the selected window. How can I change the
> function/WindowList to behave similar to pressing Alt-F7?
> I don't want to use WarpToWindow, because I don't like the mouse pointer
> jumping around the screen.

You should either use WarpToWindow or ClickToFocus.
If you use SloppyFocus you explicitely request the window under cursor to
receive a focus, this is what happens. Try "WarpToWindow 50 10p".

BTW, in 2.5.x it works like you want, i.e. another window than the one
under cursor is focussed until you leave/enter a window. I don't know
whether this is an indended behaviour. One may like or hate this.

> You can get my current config file from
> "http://www.alsdorf-online.de/fvwm/fvwm2rc". I am using version "2.4.15"

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 Sat Apr 05 2003 - 11:48:33 BST

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