Re: FVWM: double click to close window?

From: Tomi Sarvela <ts_at_nether.tky.hut.fi>
Date: Thu, 28 May 1998 19:17:38 +0300 (EEST)

On Wed, 27 May 1998, Kin Cho wrote:

> I wanted to be able to double click on the button on the top left
> corner of a window to close it.
>
> I tried this in my .fvwmrc but it doesn't work:
>
> Mouse 0 1 N Function "window_ops_func"
>
> Function "window_ops_func"
> PopUp "Click" Window Ops2
> PopUp "Motion" Window Ops2
> Delete "DoubleClick"
> EndFunction

# some simple default mouse bindings:
# ...
# for the title bar buttons:
Mouse 0 1 A Menu Corner-Ops Close

----------------------------------clip

# menu for window left corner-button
#
AddToMenu Corner-Ops "(Un)&Stick" Stick
+ "(Un)Ma&ximize" Maximize
+ "" Nop
+ "&Delete" Delete
+ "&Close" Close
+ "Destroy" Destroy

---------------------------------clip

        This makes the left corner of the window act as a
        little menu, and double-click closes the window.

        Tomi

tomi.sarvela_at_iki.fi Ideas and thoughts expressed herein are mine, all mine!
t_at_nether.tky.hut.fi An NT server can be run by an idiot, and usually is.


--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu May 28 1998 - 10:11:53 BST

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