Permalink
Browse files

Fix regressions to MonadTall normalization

Closes #237, Closes #236
  • Loading branch information...
1 parent 08b6d52 commit 2ddea781d34c4472e5242a96b71165c9e2908027 @dustinlacewell dustinlacewell committed with tych0 Dec 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 libqtile/layout/xmonad.py
@@ -170,6 +170,7 @@ def remove(self, c):
self.clients.remove(c)
# move focus pointer
self.focused = max(0, idx - 1)
+ self.do_normalize = True
if self.clients:
return self.clients[self.focused]
@@ -186,6 +187,7 @@ def cmd_normalize(self, redraw=True):
# reset main pane ratio
if redraw:
self.group.layoutAll()
+ self.do_normalize = False
def _maximize_main(self):
"Toggle the main pane between min and max size"

0 comments on commit 2ddea78

Please sign in to comment.