renaming isdestroyed into destroyed
This commit is contained in:
		
							parent
							
								
									7fe81359d4
								
							
						
					
					
						commit
						eb260b1a41
					
				
							
								
								
									
										6
									
								
								dwm.c
								
								
								
								
							
							
						
						
									
										6
									
								
								dwm.c
								
								
								
								
							| 
						 | 
					@ -218,7 +218,7 @@ static void togglefloating(const Arg *arg);
 | 
				
			||||||
static void toggletag(const Arg *arg);
 | 
					static void toggletag(const Arg *arg);
 | 
				
			||||||
static void toggleview(const Arg *arg);
 | 
					static void toggleview(const Arg *arg);
 | 
				
			||||||
static void unfocus(Client *c);
 | 
					static void unfocus(Client *c);
 | 
				
			||||||
static void unmanage(Client *c, Bool isdestroyed);
 | 
					static void unmanage(Client *c, Bool destroyed);
 | 
				
			||||||
static void unmapnotify(XEvent *e);
 | 
					static void unmapnotify(XEvent *e);
 | 
				
			||||||
static void updategeom(void);
 | 
					static void updategeom(void);
 | 
				
			||||||
static void updatebarpos(Monitor *m);
 | 
					static void updatebarpos(Monitor *m);
 | 
				
			||||||
| 
						 | 
					@ -1627,13 +1627,13 @@ unfocus(Client *c) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
unmanage(Client *c, Bool isdestroyed) {
 | 
					unmanage(Client *c, Bool destroyed) {
 | 
				
			||||||
	XWindowChanges wc;
 | 
						XWindowChanges wc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* The server grab construct avoids race conditions. */
 | 
						/* The server grab construct avoids race conditions. */
 | 
				
			||||||
	detach(c);
 | 
						detach(c);
 | 
				
			||||||
	detachstack(c);
 | 
						detachstack(c);
 | 
				
			||||||
	if(!isdestroyed) {
 | 
						if(!destroyed) {
 | 
				
			||||||
		wc.border_width = c->oldbw;
 | 
							wc.border_width = c->oldbw;
 | 
				
			||||||
		XGrabServer(dpy);
 | 
							XGrabServer(dpy);
 | 
				
			||||||
		XSetErrorHandler(xerrordummy);
 | 
							XSetErrorHandler(xerrordummy);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue