continued with man page
This commit is contained in:
		
							parent
							
								
									86d9851427
								
							
						
					
					
						commit
						72655f0ce7
					
				
							
								
								
									
										2
									
								
								client.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								client.c
									
									
									
									
									
								
							| @ -398,7 +398,6 @@ manage(Window w, XWindowAttributes *wa) | |||||||
| 	c->next = *l; /* *l == nil */ | 	c->next = *l; /* *l == nil */ | ||||||
| 	*l = c; | 	*l = c; | ||||||
| 
 | 
 | ||||||
| 	XSetWindowBorderWidth(dpy, c->win, 1); |  | ||||||
| 	XMapRaised(dpy, c->win); | 	XMapRaised(dpy, c->win); | ||||||
| 	XMapRaised(dpy, c->title); | 	XMapRaised(dpy, c->title); | ||||||
| 	XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, | 	XGrabButton(dpy, Button1, Mod1Mask, c->win, False, ButtonPressMask, | ||||||
| @ -495,6 +494,7 @@ resize(Client *c, Bool inc) | |||||||
| 	if(c->maxh && c->h > c->maxh) | 	if(c->maxh && c->h > c->maxh) | ||||||
| 		c->h = c->maxh; | 		c->h = c->maxh; | ||||||
| 	resize_title(c); | 	resize_title(c); | ||||||
|  | 	XSetWindowBorderWidth(dpy, c->win, 1); | ||||||
| 	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); | 	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); | ||||||
| 	e.type = ConfigureNotify; | 	e.type = ConfigureNotify; | ||||||
| 	e.event = c->win; | 	e.event = c->win; | ||||||
|  | |||||||
| @ -14,9 +14,12 @@ VERSION = 0.0 | |||||||
| LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 | LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 | ||||||
| 
 | 
 | ||||||
| # Linux/BSD
 | # Linux/BSD
 | ||||||
| CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
 | CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
 | ||||||
| 	-DVERSION=\"${VERSION}\" | 	-DVERSION=\"${VERSION}\" | ||||||
| LDFLAGS = -g ${LIBS} | LDFLAGS = ${LIBS} | ||||||
|  | #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
 | ||||||
|  | #	-DVERSION=\"${VERSION}\"
 | ||||||
|  | #LDFLAGS = -g ${LIBS}
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Solaris
 | # Solaris
 | ||||||
|  | |||||||
							
								
								
									
										33
									
								
								dwm.1
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								dwm.1
									
									
									
									
									
								
							| @ -12,3 +12,36 @@ is a dynamic window manager for X11. | |||||||
| .TP | .TP | ||||||
| .B \-v | .B \-v | ||||||
| prints version information to stdout, then exits. | prints version information to stdout, then exits. | ||||||
|  | .SS Default Key Bindings | ||||||
|  | .TP 16 | ||||||
|  | .I Key	 | ||||||
|  | .I Action | ||||||
|  | .TP | ||||||
|  | .B Mod1-Return | ||||||
|  | Zoom | ||||||
|  | .B window | ||||||
|  | to the  | ||||||
|  | .B master | ||||||
|  | track | ||||||
|  | .TP | ||||||
|  | .B Mod1-k | ||||||
|  | Focus previous | ||||||
|  | .B window | ||||||
|  | .TP | ||||||
|  | .B Mod1-j | ||||||
|  | Focus next | ||||||
|  | .B window | ||||||
|  | .TP | ||||||
|  | .B Mod1-m | ||||||
|  | Maximize current | ||||||
|  | .B window | ||||||
|  | .TP | ||||||
|  | .B Mod1-[0..n] | ||||||
|  | Focus | ||||||
|  | .B nth | ||||||
|  | tag | ||||||
|  | .TP | ||||||
|  | .B Mod1-space | ||||||
|  | (Re-)arrange | ||||||
|  | .B all | ||||||
|  | windows tiled | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								event.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								event.c
									
									
									
									
									
								
							| @ -87,7 +87,7 @@ configurerequest(XEvent *e) | |||||||
| 		if(ev->value_mask & CWHeight) | 		if(ev->value_mask & CWHeight) | ||||||
| 			c->h = ev->height; | 			c->h = ev->height; | ||||||
| 		if(ev->value_mask & CWBorderWidth) | 		if(ev->value_mask & CWBorderWidth) | ||||||
| 			c->border = ev->border_width; | 			c->border = 1; | ||||||
| 		gravitate(c, False); | 		gravitate(c, False); | ||||||
| 		resize(c, True); | 		resize(c, True); | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user