Re: FVWM: StaysOnTop in Window Ops

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 20 Jul 2002 15:25:12 +0000

On 20 Jul 2002 16:51:35 +0200, Christoph Claus wrote:
>
> It doesn't work for me... :-(

Ok. Several issues here.

StaysOnTop just like Layer is one of the not many style options that
require RecaptureWindow to be applied. This works in 2.4.x:

  AddToMenu MenuFvwmWindowOps
  + I "StaysOnTop" StyleAndRecapture $n StaysOnTop
  + I "StaysPut" StyleAndRecapture $n StaysPut
  + I "StaysOnBottom" StyleAndRecapture $n StaysOnBottom

  AddToFunc StyleAndRecapture
  + I Style "$0" $1
  + I All ("$0") RecaptureWindow

But this is broken in the current cvs, these style options do not work.

Anyway, if you want only to change layers of one specific window, not
all windows with the same name, you may do it without Style:

  AddToMenu MenuFvwmWindowOps
  + "StaysOnTop" Layer 0 6
  + "StaysPut" Layer 0 4
  + "StaysBottom" Layer 0 2

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 Jul 20 2002 - 10:26:00 BST

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