removed aux* stuff from Client
This commit is contained in:
		
							parent
							
								
									a6d23fb61c
								
							
						
					
					
						commit
						45768ee04b
					
				
							
								
								
									
										4
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								dwm.c
									
									
									
									
									
								
							@ -94,8 +94,6 @@ struct Client {
 | 
			
		||||
	Client *next;
 | 
			
		||||
	Client *snext;
 | 
			
		||||
	Window win;
 | 
			
		||||
	void *aux;
 | 
			
		||||
	void (*freeaux)(void *);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
@ -1521,8 +1519,6 @@ unmanage(Client *c) {
 | 
			
		||||
	detachstack(c);
 | 
			
		||||
	if(sel == c)
 | 
			
		||||
		focus(NULL);
 | 
			
		||||
	if(c->aux && c->freeaux)
 | 
			
		||||
		c->freeaux(c->aux);
 | 
			
		||||
	XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
 | 
			
		||||
	setclientstate(c, WithdrawnState);
 | 
			
		||||
	free(c);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user