Mercurial > dwm-meillo
comparison view.c @ 515:d6d1d0033e3c
removed useless updatemaster
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 29 Sep 2006 17:25:49 +0200 |
parents | e43292f339ea |
children | 73afe7587bea |
comparison
equal
deleted
inserted
replaced
514:3dd1631824a6 | 515:d6d1d0033e3c |
---|---|
338 return; | 338 return; |
339 if(stackpos == StackBottom) | 339 if(stackpos == StackBottom) |
340 stackpos = STACKPOS; | 340 stackpos = STACKPOS; |
341 else | 341 else |
342 stackpos = StackBottom; | 342 stackpos = StackBottom; |
343 updatemaster(); | |
344 arrange(NULL); | |
345 } | |
346 | |
347 void | |
348 updatemaster(void) { | |
349 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; | 343 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; |
344 arrange(NULL); | |
350 } | 345 } |
351 | 346 |
352 void | 347 void |
353 view(Arg *arg) { | 348 view(Arg *arg) { |
354 unsigned int i; | 349 unsigned int i; |