Skip to content
This repository
Browse code

Fix regressions to MonadTall normalization

Closes #237, Closes #236
  • Loading branch information...
commit 2ddea781d34c4472e5242a96b71165c9e2908027 1 parent 08b6d52
Dustin Lacewell dustinlacewell authored tych0 committed

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  libqtile/layout/xmonad.py
2  libqtile/layout/xmonad.py
@@ -170,6 +170,7 @@ def remove(self, c):
170 170 self.clients.remove(c)
171 171 # move focus pointer
172 172 self.focused = max(0, idx - 1)
  173 + self.do_normalize = True
173 174 if self.clients:
174 175 return self.clients[self.focused]
175 176
@@ -186,6 +187,7 @@ def cmd_normalize(self, redraw=True):
186 187 # reset main pane ratio
187 188 if redraw:
188 189 self.group.layoutAll()
  190 + self.do_normalize = False
189 191
190 192 def _maximize_main(self):
191 193 "Toggle the main pane between min and max size"

0 comments on commit 2ddea78

Please sign in to comment.
Something went wrong with that request. Please try again.