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.zip |
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[] = { | |||
305 | { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0, 0}, | 305 | { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0, 0}, |
306 | }; | 306 | }; |
307 | 307 | ||
308 | /* | ||
309 | * Selection types' masks. | ||
310 | * Use the same masks as usual. | ||
311 | * Button1Mask is always unset, to make masks match between ButtonPress. | ||
312 | * ButtonRelease and MotionNotify. | ||
313 | * If no match is found, regular selection is used. | ||
314 | */ | ||
315 | |||
316 | static uint selmasks[] = { | ||
317 | [SEL_RECTANGULAR] = Mod1Mask, | ||
318 | }; | ||
319 | |||