diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 18:14:08 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 18:14:08 +0200 |
| commit | 3e06edeb5df0aa95614cb0b11ba1931f01b6f337 (patch) | |
| tree | 694fd3ea71771cb4d6f478a6278cad3041c23707 | |
| parent | applied sanders tag()/toggletag() fixes (diff) | |
| download | dwm-3e06edeb5df0aa95614cb0b11ba1931f01b6f337.tar.gz dwm-3e06edeb5df0aa95614cb0b11ba1931f01b6f337.zip | |
applied sanders man page patch, removed button2 from bar click
Diffstat (limited to '')
| -rw-r--r-- | dwm.1 | 40 | ||||
| -rw-r--r-- | event.c | 6 |
2 files changed, 24 insertions, 22 deletions
| @@ -36,13 +36,14 @@ prints version information to standard output, then exits. | |||
| 36 | .B Standard input | 36 | .B Standard input |
| 37 | is read and displayed in the status text area. | 37 | is read and displayed in the status text area. |
| 38 | .TP | 38 | .TP |
| 39 | .B Button[1,2] | 39 | .B Button1 |
| 40 | click on a tag label focuses that | 40 | click on a tag label views all windows with that |
| 41 | .B tag. | 41 | .BR tag . |
| 42 | .TP | 42 | .TP |
| 43 | .B Button3 | 43 | .B Button3 |
| 44 | click on a tag label toggles that | 44 | click on a tag label adds/removes all windows with that |
| 45 | .B tag. | 45 | .B tag |
| 46 | to/from the view. | ||
| 46 | .SS Keyboard commands | 47 | .SS Keyboard commands |
| 47 | .TP | 48 | .TP |
| 48 | .B Mod1-Return | 49 | .B Mod1-Return |
| @@ -54,19 +55,19 @@ column. | |||
| 54 | .TP | 55 | .TP |
| 55 | .B Mod1-j | 56 | .B Mod1-j |
| 56 | Focus next | 57 | Focus next |
| 57 | .B window. | 58 | .BR window . |
| 58 | .TP | 59 | .TP |
| 59 | .B Mod1-k | 60 | .B Mod1-k |
| 60 | Focus previous | 61 | Focus previous |
| 61 | .B window. | 62 | .BR window . |
| 62 | .TP | 63 | .TP |
| 63 | .B Mod1-m | 64 | .B Mod1-m |
| 64 | Maximize current | 65 | Maximize current |
| 65 | .B window. | 66 | .BR window . |
| 66 | .TP | 67 | .TP |
| 67 | .B Mod1-[0..n] | 68 | .B Mod1-[0..n] |
| 68 | Focus | 69 | View all windows with |
| 69 | .B nth tag. | 70 | .BR "tag n" . |
| 70 | .TP | 71 | .TP |
| 71 | .B Mod1-space | 72 | .B Mod1-space |
| 72 | Toggle between | 73 | Toggle between |
| @@ -80,7 +81,7 @@ mode (affects | |||
| 80 | Apply | 81 | Apply |
| 81 | .B nth tag | 82 | .B nth tag |
| 82 | to current | 83 | to current |
| 83 | .B window. | 84 | .BR window . |
| 84 | .TP | 85 | .TP |
| 85 | .B Mod1-Shift-c | 86 | .B Mod1-Shift-c |
| 86 | Close focused | 87 | Close focused |
| @@ -92,17 +93,18 @@ Quit | |||
| 92 | .TP | 93 | .TP |
| 93 | .B Mod1-Shift-Return | 94 | .B Mod1-Shift-Return |
| 94 | Start | 95 | Start |
| 95 | .B terminal. | 96 | .BR terminal . |
| 96 | .TP | 97 | .TP |
| 97 | .B Mod1-Control-[0..n] | 98 | .B Mod1-Control-[0..n] |
| 98 | Toggle | 99 | Add/remove all windows with |
| 99 | .B nth tag. | 100 | .B tag n |
| 101 | to/from the view. | ||
| 100 | .TP | 102 | .TP |
| 101 | .B Mod1-Control-Shift-[0..n] | 103 | .B Mod1-Control-Shift-[0..n] |
| 102 | Append | 104 | Add/remove |
| 103 | .B nth tag | 105 | .B nth tag |
| 104 | to current | 106 | to/from current |
| 105 | .B window. | 107 | .BR window . |
| 106 | .SS Mouse commands | 108 | .SS Mouse commands |
| 107 | .TP | 109 | .TP |
| 108 | .B Mod1-Button1 | 110 | .B Mod1-Button1 |
| @@ -127,12 +129,12 @@ is customized by creating a custom config.h and (re)compiling the source | |||
| 127 | code. This keeps it fast, secure and simple. | 129 | code. This keeps it fast, secure and simple. |
| 128 | .SH CAVEATS | 130 | .SH CAVEATS |
| 129 | The status bar displays | 131 | The status bar displays |
| 130 | .BR "broken pipe" | 132 | .B broken pipe |
| 131 | when | 133 | when |
| 132 | .B dwm | 134 | .B dwm |
| 133 | has been started by | 135 | has been started by |
| 134 | .BR xdm (1), | 136 | .BR xdm (1), |
| 135 | because it closes standard output before executing | 137 | because it closes standard output before executing |
| 136 | .B dwm. | 138 | .BR dwm . |
| 137 | .SH SEE ALSO | 139 | .SH SEE ALSO |
| 138 | .BR dmenu (1) | 140 | .BR dmenu (1) |
| @@ -109,10 +109,10 @@ buttonpress(XEvent *e) | |||
| 109 | for(a.i = 0; a.i < ntags; a.i++) { | 109 | for(a.i = 0; a.i < ntags; a.i++) { |
| 110 | x += textw(tags[a.i]); | 110 | x += textw(tags[a.i]); |
| 111 | if(ev->x < x) { | 111 | if(ev->x < x) { |
| 112 | if(ev->button == Button3) | 112 | if(ev->button == Button1) |
| 113 | toggleview(&a); | ||
| 114 | else | ||
| 115 | view(&a); | 113 | view(&a); |
| 114 | else if(ev->button == Button3) | ||
| 115 | toggleview(&a); | ||
| 116 | return; | 116 | return; |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
