forcing fullscreen windows to bw=0, though most fullscreen apps are broken anyways
This commit is contained in:
		
							parent
							
								
									6fad4c49f1
								
							
						
					
					
						commit
						4a2902efe4
					
				
							
								
								
									
										2
									
								
								dwm.c
								
								
								
								
							
							
						
						
									
										2
									
								
								dwm.c
								
								
								
								
							| 
						 | 
					@ -904,7 +904,7 @@ manage(Window w, XWindowAttributes *wa) {
 | 
				
			||||||
	if(c->w == sw && c->h == sh) {
 | 
						if(c->w == sw && c->h == sh) {
 | 
				
			||||||
		c->x = sx;
 | 
							c->x = sx;
 | 
				
			||||||
		c->y = sy;
 | 
							c->y = sy;
 | 
				
			||||||
		c->bw = wa->border_width;
 | 
							c->bw = 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else {
 | 
						else {
 | 
				
			||||||
		if(c->x + c->w + 2 * c->bw > sx + sw)
 | 
							if(c->x + c->w + 2 * c->bw > sx + sw)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue