diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-02-19 19:08:41 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-02-19 19:08:41 +0100 |
commit | 3865e9eaaf4e1c7820b1f41ce9d0b1d7b109fb26 (patch) | |
tree | 1c54d60e09105dbc2894a5a62b85d990f8937b72 /config.def.h | |
parent | e5295629cdffb711001f3fdffbb9aa4ef772add0 (diff) | |
download | st-3865e9eaaf4e1c7820b1f41ce9d0b1d7b109fb26.tar.gz st-3865e9eaaf4e1c7820b1f41ce9d0b1d7b109fb26.tar.bz2 |
Implement rectangular mouse selection.
Thanks Alexander Sedov <alex0player@gmail.com>!
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 12 |
1 files changed, 12 insertions, 0 deletions
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, +}; + |