Implement rectangular mouse selection.

Thanks Alexander Sedov <alex0player@gmail.com>!
This commit is contained in:
Christoph Lohmann committed 2013-02-19 19:08:41 +01:00
1 parent e5295629cd
commit 3865e9eaaf
2 files changed
+66 -14

No files matched your search

+12
View File
@@ -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,
};