index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (901B) | |
--- | |
1 Mouse events on title | |
2 ===================== | |
3 Last update: 2009-12-11 | |
4 | |
5 Adds mouse events on the title bar to switch between clients using the m… | |
6 wheel and using the left click to zoom, right click kill and middle clic… | |
7 toggling the floating. | |
8 | |
9 This way you can easily manage tiled clients with the mouse. | |
10 | |
11 The right click on the layout area maximizes the client. | |
12 | |
13 If you are using the nmaster patch you will be able to change the nmaste… | |
14 using the mouse wheel. | |
15 | |
16 Change the mwfact using the wheel at x=0 placing the cursor inside the b… | |
17 | |
18 Notes | |
19 ----- | |
20 Last versions of dwm (5.x series) allow to bind mouse events to actions,… | |
21 this patch can be replaced by a proper config.h tweak. | |
22 | |
23 Patch | |
24 ----- | |
25 Patch for [dwm 4.6](http://www.lolcathost.org/b/dwm/mouseontitle-4.6.dif… | |
26 here. | |
27 | |
28 See in event.c at function 'buttonpress()' to patch older dwm releases. | |
29 | |
30 Author | |
31 ------ | |
32 * pancake <youterm.com> |