always updategeom when root is configured
This commit is contained in:
		
							parent
							
								
									0a668922a4
								
							
						
					
					
						commit
						9c066c24b3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dwm.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
 | 
			
		|||
	Monitor *m;
 | 
			
		||||
	XConfigureEvent *ev = &e->xconfigure;
 | 
			
		||||
 | 
			
		||||
	if(ev->window == root && (ev->width != sw || ev->height != sh)) {
 | 
			
		||||
	if(ev->window == root) {
 | 
			
		||||
		sw = ev->width;
 | 
			
		||||
		sh = ev->height;
 | 
			
		||||
		updategeom();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue