Git commit 3acf8f30249ef256c2a915a12048f55da0568492 by David Edmundson.
Committed on 30/09/2020 at 10:48.
Pushed by davidedmundson into branch 'Plasma/5.20'.
[libkworkspace] Port from deprecated GetSessionByPID
This method calls doesn't seem to work anymore having been replaced by
the more intuitve virtual paths on the logind over a year ago.
Arguably that's still a bug upstream that GetSessionByPID no longer
works correctly, but we may as well port to the simpler path that avoids
so many layers of indirection.
Use of "/auto" does not exist on old distros so the legacy path is kept.
The paths used in this class were always wrong, which went unnoticed as
this is the first usage of them.
(cherry picked from commit bb7b1226e65f533e21145b03047bfef604232323)
A +15 -0 components/tests/sessions.qml *
M +21 -13 libkworkspace/kdisplaymanager.cpp
Git commit 3acf8f30249ef25 6c2a915a12048f5 5da0568492 by David Edmundson.
Committed on 30/09/2020 at 10:48.
Pushed by davidedmundson into branch 'Plasma/5.20'.
[libkworkspace] Port from deprecated GetSessionByPID
This method calls doesn't seem to work anymore having been replaced by
the more intuitve virtual paths on the logind over a year ago.
Arguably that's still a bug upstream that GetSessionByPID no longer
works correctly, but we may as well port to the simpler path that avoids
so many layers of indirection.
Use of "/auto" does not exist on old distros so the legacy path is kept.
The paths used in this class were always wrong, which went unnoticed as
this is the first usage of them.
(cherry picked from commit bb7b1226e65f533 e21145b03047bfe f604232323)
A +15 -0 components/ tests/sessions. qml * kdisplaymanager .cpp
M +21 -13 libkworkspace/
The files marked with a * at the end have a non valid license. Please read: https:/ /community. kde.org/ Policies/ Licensing_ Policy and use the headers which are listed at that page.
https:/ /invent. kde.org/ plasma/ plasma- workspace/ commit/ 3acf8f30249ef25 6c2a915a12048f5 5da0568492