Re: FVWM: can't figure out how to refocus

From: Tim Phipps <tim_at_quadrics.com>
Date: Fri, 19 Mar 1999 15:59:53 +0000

Adam Tla/lka wrote:
>
> But generally speaking it will be nice to have additional function
> in fvwm which places window on the top of window list like Focus but does
> it by not changing order of other windows :

This is what FlipFocus does and why it was invented.

>
> [a] <- top
>
> [b]
>
> [c]
>
> [d] - this I want to be active and on top
>
> [e]
>
> then
>
> [d] <- top
>
> [b]
>
> [c]
>
> [e]
>
> [a] - previous active goes to end of the list
>

The only thing that has happend here that wouldn't happen with FlipFocus
is that [a] has been moved to the bottom. The order becomes dabce rather
than dbcea. Why do you want [a] to go to the bottom?

> I have "Style * NoIcons" and problem is that in my opinion Iconify
> shouldn't switch focus to previous window on the list automatically.
> I just want focus to stay on the same position and define:
> AddToFunc Iconify-and-Prev "I" Iconify 1
> + "I" PrevFlip

This sounds like you have ClickToFocus on. What happens with

AddToFunc Iconify-and-Prev "I" PrevFlip
+ I WindowId $w Iconify 1
?

I haven't tried this but I think it should do the focus changing stuff
before iconifying so the iconifying shouldn't invoke an automatic focus
change (that happens only when the current window is iconified).

Cheers,
Tim.
--
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 Mar 19 1999 - 10:01:11 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST