equal
deleted
inserted
replaced
406 configurenotify(XEvent *e) { |
406 configurenotify(XEvent *e) { |
407 XConfigureEvent *ev = &e->xconfigure; |
407 XConfigureEvent *ev = &e->xconfigure; |
408 |
408 |
409 if(ev->window == root && (ev->width != sw || ev->height != sh)) { |
409 if(ev->window == root && (ev->width != sw || ev->height != sh)) { |
410 setgeoms(); |
410 setgeoms(); |
|
411 updatebarpos(); |
411 arrange(); |
412 arrange(); |
412 } |
413 } |
413 } |
414 } |
414 |
415 |
415 void |
416 void |
1413 /* monocle area */ |
1414 /* monocle area */ |
1414 mox = wx; |
1415 mox = wx; |
1415 moy = wy; |
1416 moy = wy; |
1416 mow = ww; |
1417 mow = ww; |
1417 moh = wh; |
1418 moh = wh; |
1418 |
|
1419 updatebarpos(); |
|
1420 } |
1419 } |
1421 |
1420 |
1422 void |
1421 void |
1423 setlayout(const char *arg) { |
1422 setlayout(const char *arg) { |
1424 static Layout *revert = 0; |
1423 static Layout *revert = 0; |