unify movemouse/resizemouse

This commit is contained in:
Devin J. Pohly
2020-04-30 10:25:37 -05:00
parent 53e71957f8
commit 3973ea5bfe
2 changed files with 18 additions and 28 deletions

View File

@@ -78,7 +78,7 @@ static const Key keys[] = {
};
static const Button buttons[] = {
{ MODKEY, BTN_LEFT, movemouse, {0} },
{ MODKEY, BTN_LEFT, moveresize, {.ui = CurMove} },
{ MODKEY, BTN_MIDDLE, togglefloating, {0} },
{ MODKEY, BTN_RIGHT, resizemouse, {0} },
{ MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} },
};