Fixes BUG: 403071
Details
Diff Detail
- Repository
- R108 KWin
- Branch
- script-maximize (branched from master)
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 10111 Build 10129: arc lint + arc unit
Please don't randomly turn methods into slots. There's a fair chance of future breaking if somebody checks for the usage of the slot and notices it's unused.
If you want to make a method invokable by scripts: use Q_INVOKABLE.
Is it a good idea to expose AbstractClient::setMaximize anyway? As far as I know, xdg-shell doesn't define maximized vertically or maximized horizontally states.
As far as I know, xdg-shell doesn't define maximized vertically or maximized horizontally states.
XdgShell protocol does not define it as a state, but ShellClient still accepts this as a regular window move.
I don't see it being an issue.
Regardless of the XdgShell protocol, there's currently no way to maximize client from KWin script at all, which is somewhat limiting factor for certain use cases (e.g. Maximized layout in a tiling script such as https://github.com/faho/kwin-tiling).