all repos — openbox @ 38de48bd8b054db7ba95fcdb43e474a0ba23b78f

openbox fork - make it a bit more like ryudo

stop moving a window if it is maximized
Dana Jansens danakj@orodu.net
commit

38de48bd8b054db7ba95fcdb43e474a0ba23b78f

parent

445e28af9aeb385f5ec40213ea66b0a32c8a06ed

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -1527,6 +1527,9 @@ }

void OpenboxWindow::maximize(unsigned int button) { + if (flags.moving) + endMove(); + // handle case where menu is open then the max button is used instead if (windowmenu && windowmenu->isVisible()) windowmenu->hide();