refactor: delete mouse.c
This commit is contained in:
parent
6bfa127871
commit
bec37f54b7
1 changed files with 15 additions and 3 deletions
|
@ -22,8 +22,20 @@ enum {
|
||||||
ClkClientWin, ClkRootWin, ClkLast
|
ClkClientWin, ClkRootWin, ClkLast
|
||||||
}; /* clicks */
|
}; /* clicks */
|
||||||
|
|
||||||
#ifndef MOUSE_C
|
/* button definitions */
|
||||||
#include "mouse.c"
|
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
|
||||||
#endif
|
static Button buttons[] = {
|
||||||
|
/* click event mask button function argument */
|
||||||
|
{ClkTagBar, MODKEY, Button1, tag, {0}},
|
||||||
|
{ClkTagBar, MODKEY, Button3, toggletag, {0}},
|
||||||
|
{ClkWinTitle, 0, Button2, zoom, {0}},
|
||||||
|
{ClkClientWin, MODKEY, Button1, movemouse, {0}},
|
||||||
|
{ClkClientWin, MODKEY, Button2, togglefloating, {0}},
|
||||||
|
{ClkClientWin, MODKEY, Button3, resizemouse, {0}},
|
||||||
|
{ClkTagBar, 0, Button1, view, {0}},
|
||||||
|
{ClkTagBar, 0, Button3, toggleview, {0}},
|
||||||
|
{ClkTagBar, MODKEY, Button1, tag, {0}},
|
||||||
|
{ClkTagBar, MODKEY, Button3, toggletag, {0}},
|
||||||
|
};
|
||||||
|
|
||||||
#endif //MOUSE_H
|
#endif //MOUSE_H
|
||||||
|
|
Loading…
Reference in a new issue