1#
2# PWM pointer button bindings
3#
4
5mbind {
6	context tab
7	state Button1
8	press "raise"
9	dblclick "toggle_shade"
10	motion "move"
11}
12
13mbind {
14	context tab
15	state Button1, Shift
16	motion "move_stepped"
17}
18
19
20mbind {
21	context side, corner
22	state Button1
23	press "raise"
24	motion "resize"
25}
26
27
28mbind {
29	context side, corner
30	state Button1, Shift
31	motion "resize_stepped"
32}
33
34
35mbind {
36	context tab
37	state Button2
38	click "tab_switch"
39	motion "tab_drag"
40}
41
42
43mbind {
44	context window, corner, side, tab, menu, dockwin
45	state Button1, Mod1
46	click "raise"
47	motion "move"
48}
49
50
51mbind {
52	context window, corner, side, tab, menu, dockwin
53	state Button1, Mod1, Shift
54	motion "move_stepped"
55}
56
57
58mbind {
59	context window, corner, side, tab
60	state Button3, Mod1
61	click "lower"
62	motion "resize"
63}
64
65
66mbind {
67	context window, corner, side, tab
68	state Button3, Mod1, Shift
69	motion "resize_stepped"
70}
71
72
73mbind {
74	context root
75	state Button3
76	press "menu", "root_menu"
77}
78
79
80mbind {
81	context root
82	state Button2
83	press "menu", "goto_menu"
84}
85
86
87mbind {
88	context tab, corner, side
89	state Button3
90	press "menu", "frame_cwin_menu"
91}
92
93
94mbind {
95	context dockwin
96	state Button3
97	press "menu", "dockwin_menu"
98}
99
100
101mbind {
102	context dockwin
103	state Button1
104	motion "move"
105}
106