From 3865e9eaaf4e1c7820b1f41ce9d0b1d7b109fb26 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Tue, 19 Feb 2013 19:08:41 +0100 Subject: Implement rectangular mouse selection. Thanks Alexander Sedov ! --- config.def.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 07a22ed..a31a235 100644 --- a/config.def.h +++ b/config.def.h @@ -305,3 +305,15 @@ static Key key[] = { { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0, 0}, }; +/* + * Selection types' masks. + * Use the same masks as usual. + * Button1Mask is always unset, to make masks match between ButtonPress. + * ButtonRelease and MotionNotify. + * If no match is found, regular selection is used. + */ + +static uint selmasks[] = { + [SEL_RECTANGULAR] = Mod1Mask, +}; + -- cgit v1.2.3