applied sanders man page patch, removed button2 from bar click
This commit is contained in:
		
							
								
								
									
										40
									
								
								dwm.1
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								dwm.1
									
									
									
									
									
								
							@@ -36,13 +36,14 @@ prints version information to standard output, then exits.
 | 
				
			|||||||
.B Standard input
 | 
					.B Standard input
 | 
				
			||||||
is read and displayed in the status text area.
 | 
					is read and displayed in the status text area.
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Button[1,2]
 | 
					.B Button1
 | 
				
			||||||
click on a tag label focuses that
 | 
					click on a tag label views all windows with that
 | 
				
			||||||
.B tag.
 | 
					.BR tag .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Button3
 | 
					.B Button3
 | 
				
			||||||
click on a tag label toggles that
 | 
					click on a tag label adds/removes all windows with that
 | 
				
			||||||
.B tag.
 | 
					.B tag
 | 
				
			||||||
 | 
					to/from the view.
 | 
				
			||||||
.SS Keyboard commands
 | 
					.SS Keyboard commands
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Return
 | 
					.B Mod1-Return
 | 
				
			||||||
@@ -54,19 +55,19 @@ column.
 | 
				
			|||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-j
 | 
					.B Mod1-j
 | 
				
			||||||
Focus next
 | 
					Focus next
 | 
				
			||||||
.B window.
 | 
					.BR window .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-k
 | 
					.B Mod1-k
 | 
				
			||||||
Focus previous
 | 
					Focus previous
 | 
				
			||||||
.B window.
 | 
					.BR window .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-m
 | 
					.B Mod1-m
 | 
				
			||||||
Maximize current
 | 
					Maximize current
 | 
				
			||||||
.B window.
 | 
					.BR window .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-[0..n]
 | 
					.B Mod1-[0..n]
 | 
				
			||||||
Focus
 | 
					View all windows with
 | 
				
			||||||
.B nth tag.
 | 
					.BR "tag n" .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-space
 | 
					.B Mod1-space
 | 
				
			||||||
Toggle between
 | 
					Toggle between
 | 
				
			||||||
@@ -80,7 +81,7 @@ mode (affects
 | 
				
			|||||||
Apply
 | 
					Apply
 | 
				
			||||||
.B nth tag
 | 
					.B nth tag
 | 
				
			||||||
to current
 | 
					to current
 | 
				
			||||||
.B window.
 | 
					.BR window .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Shift-c
 | 
					.B Mod1-Shift-c
 | 
				
			||||||
Close focused
 | 
					Close focused
 | 
				
			||||||
@@ -92,17 +93,18 @@ Quit
 | 
				
			|||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Shift-Return
 | 
					.B Mod1-Shift-Return
 | 
				
			||||||
Start
 | 
					Start
 | 
				
			||||||
.B terminal.
 | 
					.BR terminal .
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Control-[0..n]
 | 
					.B Mod1-Control-[0..n]
 | 
				
			||||||
Toggle
 | 
					Add/remove all windows with
 | 
				
			||||||
.B nth tag.
 | 
					.B tag n
 | 
				
			||||||
 | 
					to/from the view.
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Control-Shift-[0..n]
 | 
					.B Mod1-Control-Shift-[0..n]
 | 
				
			||||||
Append
 | 
					Add/remove
 | 
				
			||||||
.B nth tag
 | 
					.B nth tag
 | 
				
			||||||
to current
 | 
					to/from current
 | 
				
			||||||
.B window.
 | 
					.BR window .
 | 
				
			||||||
.SS Mouse commands
 | 
					.SS Mouse commands
 | 
				
			||||||
.TP
 | 
					.TP
 | 
				
			||||||
.B Mod1-Button1
 | 
					.B Mod1-Button1
 | 
				
			||||||
@@ -127,12 +129,12 @@ is customized by creating a custom config.h and (re)compiling the source
 | 
				
			|||||||
code. This keeps it fast, secure and simple.
 | 
					code. This keeps it fast, secure and simple.
 | 
				
			||||||
.SH CAVEATS
 | 
					.SH CAVEATS
 | 
				
			||||||
The status bar displays
 | 
					The status bar displays
 | 
				
			||||||
.BR "broken pipe"
 | 
					.B broken pipe
 | 
				
			||||||
when
 | 
					when
 | 
				
			||||||
.B dwm
 | 
					.B dwm
 | 
				
			||||||
has been started by
 | 
					has been started by
 | 
				
			||||||
.BR xdm (1),
 | 
					.BR xdm (1),
 | 
				
			||||||
because it closes standard output before executing
 | 
					because it closes standard output before executing
 | 
				
			||||||
.B dwm.
 | 
					.BR dwm .
 | 
				
			||||||
.SH SEE ALSO
 | 
					.SH SEE ALSO
 | 
				
			||||||
.BR dmenu (1)
 | 
					.BR dmenu (1)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								event.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								event.c
									
									
									
									
									
								
							@@ -109,10 +109,10 @@ buttonpress(XEvent *e)
 | 
				
			|||||||
		for(a.i = 0; a.i < ntags; a.i++) {
 | 
							for(a.i = 0; a.i < ntags; a.i++) {
 | 
				
			||||||
			x += textw(tags[a.i]);
 | 
								x += textw(tags[a.i]);
 | 
				
			||||||
			if(ev->x < x) {
 | 
								if(ev->x < x) {
 | 
				
			||||||
				if(ev->button == Button3)
 | 
									if(ev->button == Button1)
 | 
				
			||||||
					toggleview(&a);
 | 
					 | 
				
			||||||
				else
 | 
					 | 
				
			||||||
					view(&a);
 | 
										view(&a);
 | 
				
			||||||
 | 
									else if(ev->button == Button3)
 | 
				
			||||||
 | 
										toggleview(&a);
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user