On 21 Dec 2002 11:09:14 +0100, Giuseppe Della Ricca wrote:
> 
> I have a button in the titlebar of all my windows, build as:
> 
> DestroyFunc Maximize-Func
> AddToFunc Maximize-Func         C Maximize 0   100
> +                               D Maximize 100 100
> 
> Mouse 0         2       A       Maximize-Func
> 
> If I have two xterm windows on my screen, and single-click on this button 
> of the focussed one, the selected window is maximized, but 'underneath/below' 
> the other one.
> 
> If the situation is like this:
> 
> +----------o
> |    1     |
> +----------+
> 
>   +------o
>   |  2   |
>   +------+
> 
> and the window 1 has focus, when I single-click on its button 'o', the 
> result is like this:
> 
> +----------o
> |          |
> |    1     |
> |          |
> | +------o |
> | |  2   | |
> | +------+ |
> +----------+
> 
> Window 1 still has focus, but is below window 2.
> I would expect that the focussed window remains 'above' the other one.

Focus, Maximize and Raise are independent. I would dislike it if the
focused (or maximized) window would be automatically raised. If you need
this, just add this line:

  AddToFunc Maximize-Func         C Raise

Or maybe this:

  AddToFunc Maximize-Func         C ThisWindow (Focused) Raise

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to