Re: FVWM: fvwm2, xterms and applications

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 20 Mar 2002 21:40:41 +0000

On 20 Mar 2002 16:15:38 -0500, John Cessor wrote:
>
> I am trying to get fvwm2 to behave in such a way as to allow me to have
> an application open (in my case remedy), open an xterm and grep for data
> from a file and while it is on top of my application click a diary
> button so i can cut and paste the data from the xterm into the diary.
> The problem is that when I click the diary button it kicks my xterm to
> the back of the application and I have to cycle through everything on my
> desktop to get the xterm back on top. Is there a way to keep the xterm
> on top of the application? Any help on this problem would be
> appreciated.

Somewhere in your config file you said you want such automatical raising.
ClickToFocusRaises or MouseFocusClickRaises.

What you described is one of the reasons I personaly don't use these
options, they just do not do what you want. Because sometimes you want a
window to be raised and sometimes not, so the solution is the explicit
raising, not automatic. But some folks like automatic raising on click.

To solve your problem, you may add to the end of your config:

  Style remedy ClickToFocusRaisesOff, MouseFocusClickRaisesOff

Replace remedy with the correct string or "*".

To explicitely raise a window on click together with Alt/Meta key you may
add something like:

  Mouse 2 WIFS M MoveOrRaiseLower

  DestroyFunc MoveOrRaiseLower
  AddToFunc MoveOrRaiseLower
  + H Move
  + M Move
  + C RaiseLower

This way you don't need to cycle through everything. Just click mouse
button 2 while pressing Alt, one or more times inside any window.

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 Wed Mar 20 2002 - 15:41:20 GMT

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