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.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
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.