KWindowSystem activateWindow does the same thing as the QPA does when
calling QWindow::requestActivate.
We can save a dependency.
apol |
KWindowSystem activateWindow does the same thing as the QPA does when
calling QWindow::requestActivate.
We can save a dependency.
Windows:
Read code for windows QPA + kwindowsystem and it seemed like the
same underlying call
X11:
Ran ./ktextedittest. pressed control+f. Window had focus
Wayland:
Both calls will no-op. It needs new API, but when that does exist
I'll make sure it's in QWayland.
No Linters Available |
No Unit Test Coverage |
Buildable 20161 | |
Build 20179: arc lint + arc unit |
Why isn't KWindowSystem::activateWindow deprecated then? Because of the time argument?
There's a big difference between "I want to raise my window" and I "I want to raise $random window".
We don't need to use this kwindowsystem api for the former, but kwin and plasma's task manager still need to use the latter.