stop moving a window if it is maximized
This commit is contained in:
parent
445e28af9a
commit
38de48bd8b
1 changed files with 3 additions and 0 deletions
|
@ -1527,6 +1527,9 @@ void OpenboxWindow::withdraw(void) {
|
|||
|
||||
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue