call reposition_windows after doing a window move, so that the user doesn't need to hit the menu option to do it (reposition_windows manages to successfully move the hidden windows, whereas the original move doesn't, for some reason)

This commit is contained in:
Eric Blade 2010-08-01 03:05:35 -04:00
parent 8daee8da9b
commit d3f99eec9b

View File

@ -470,6 +470,9 @@ class Hud:
for aux in self.aux_windows:
aux.update_card_positions()
self.reposition_windows()
# call reposition_windows, which apparently moves even hidden windows, where this function does not, even though they do the same thing, afaict
return True
def on_button_press(self, widget, event):