do not lose border after fullscreen
This commit is contained in:
		
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							| @@ -1583,8 +1583,8 @@ setfullscreen(Client *c, int fullscreen) | |||||||
| 			PropModeReplace, (unsigned char*)0, 0); | 			PropModeReplace, (unsigned char*)0, 0); | ||||||
| 		c->isfullscreen = 0; | 		c->isfullscreen = 0; | ||||||
| 		c->isfloating = c->oldstate; | 		c->isfloating = c->oldstate; | ||||||
|  | 		c->bw = c->oldbw; | ||||||
| 		if(c->isfloating){ | 		if(c->isfloating){ | ||||||
| 			c->bw = c->oldbw; |  | ||||||
| 			c->x = c->oldx; | 			c->x = c->oldx; | ||||||
| 			c->y = c->oldy; | 			c->y = c->oldy; | ||||||
| 			c->w = c->oldw; | 			c->w = c->oldw; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user