On Wed, Jun 19, 2002 at 01:26:44PM +0200, fvwm wrote:
> With the new state bits that can be set for windows it's even
> possible to have a solution that does not rely on window names:
>
> addtofunc togglestickondesk
> + i thiswindow (currentdesk) stick on
> + i cond (nomatch) stick off
> + i thiswindow (state 7) stick off
> + i state 7 toggle
>
> addtofunc mygotodesk
> + i all (circulatehit, state 7, currentdesk) stick off
> + i gotodesk $*
> + i all (circulatehit, state 7, currentdesk) stick on
>
> mouse 1 3 N togglestickondesk
I forgot to mention that the "cond" command syntax will probably
be changed before 2.6 is released.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Jun 19 2002 - 05:43:56 BST