Commit f6f4a296 authored by Guenther Grau's avatar Guenther Grau Committed by Vlad Zahorodnii
Browse files

Fix argument order for clientMaximizedStateChanged

Arguments for clientMaximizedStateChanged were incorrect in window.cpp.
They are correct in xdgshellclient.cpp and window.h

BUG: 380836
parent a262f2b2
Pipeline #178253 passed with stage
in 14 minutes and 13 seconds
......@@ -1586,7 +1586,7 @@ void Window::setMaximize(bool vertically, bool horizontally)
const MaximizeMode newMode = maximizeMode();
if (oldMode != newMode) {
Q_EMIT clientMaximizedStateChanged(this, newMode);
Q_EMIT clientMaximizedStateChanged(this, vertically, horizontally);
Q_EMIT clientMaximizedStateChanged(this, horizontally, vertically);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment