applied Peters magic float mode bugfix
This commit is contained in:
		
							
								
								
									
										1
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								dwm.c
									
									
									
									
									
								
							@@ -1127,7 +1127,6 @@ manage(Window w, XWindowAttributes *wa) {
 | 
				
			|||||||
	c->h = c->oldh = wa->height;
 | 
						c->h = c->oldh = wa->height;
 | 
				
			||||||
	c->oldbw = wa->border_width;
 | 
						c->oldbw = wa->border_width;
 | 
				
			||||||
	if(c->w == c->mon->mw && c->h == c->mon->mh) {
 | 
						if(c->w == c->mon->mw && c->h == c->mon->mh) {
 | 
				
			||||||
		c->isfloating = True;
 | 
					 | 
				
			||||||
		c->x = c->mon->mx;
 | 
							c->x = c->mon->mx;
 | 
				
			||||||
		c->y = c->mon->my;
 | 
							c->y = c->mon->my;
 | 
				
			||||||
		c->bw = 0;
 | 
							c->bw = 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user