hotfix
This commit is contained in:
		
							parent
							
								
									346bdea946
								
							
						
					
					
						commit
						67986e81ee
					
				
							
								
								
									
										10
									
								
								view.c
								
								
								
								
							
							
						
						
									
										10
									
								
								view.c
								
								
								
								
							| 
						 | 
					@ -45,17 +45,18 @@ reorder() {
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
togglemax(Client *c)
 | 
					togglemax(Client *c)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						XEvent ev;
 | 
				
			||||||
	if((c->ismax = !c->ismax)) {
 | 
						if((c->ismax = !c->ismax)) {
 | 
				
			||||||
		c->rx = c->x; c->x = sx;
 | 
							c->rx = c->x; c->x = sx;
 | 
				
			||||||
		c->ry = c->y; c->y = bh;
 | 
							c->ry = c->y; c->y = bh;
 | 
				
			||||||
		c->rw = c->w; c->w = sw;
 | 
							c->rw = c->w; c->w = sw;
 | 
				
			||||||
		c->rh = c->h; c->h = sh;
 | 
							c->rh = c->h; c->h = sh - bh;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else {
 | 
						else {
 | 
				
			||||||
		c->x = c->rx;
 | 
							c->x = c->rx;
 | 
				
			||||||
		c->y = c->ry;
 | 
							c->y = c->ry;
 | 
				
			||||||
		c->w = c->w;
 | 
							c->w = c->rw;
 | 
				
			||||||
		c->h = c->h;
 | 
							c->h = c->rh;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	resize(c, True, TopLeft);
 | 
						resize(c, True, TopLeft);
 | 
				
			||||||
	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 | 
						while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 | 
				
			||||||
| 
						 | 
					@ -231,7 +232,7 @@ void
 | 
				
			||||||
restack() {
 | 
					restack() {
 | 
				
			||||||
	Client *c;
 | 
						Client *c;
 | 
				
			||||||
	XEvent ev;
 | 
						XEvent ev;
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	if(!sel) {
 | 
						if(!sel) {
 | 
				
			||||||
		drawstatus();
 | 
							drawstatus();
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
| 
						 | 
					@ -296,7 +297,6 @@ void
 | 
				
			||||||
zoom(Arg *arg) {
 | 
					zoom(Arg *arg) {
 | 
				
			||||||
	unsigned int n;
 | 
						unsigned int n;
 | 
				
			||||||
	Client *c;
 | 
						Client *c;
 | 
				
			||||||
	XEvent ev;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(!sel)
 | 
						if(!sel)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue