[Differential] [Request, 237 lines] D3117: allow changing an output's modelist at runtimeThis should fix running Plasma in a windowed virtual machine, when the window is resized, the mode list changes, and libksreen can't currently handle that.
sebas (Sebastian Kügler)
noreply at phabricator.kde.org
Wed Oct 19 21:40:40 UTC 2016
sebas created this revision.
sebas added a reviewer: Plasma.
sebas added a subscriber: graesslin.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
- make Output::modes() non CONSTANT, add modesChanged() signal
- compare the mode lists and set the new one
- queue an outputChanged signal when applied
- autotest for modelist changes
- update the mode list on RRNotify events
BUG:356864
TEST PLAN
- for library part, autotests are added
- for xrandr backends, we can't sensibly autotest this :(
REPOSITORY
rLIBKSCREEN KScreen Library
BRANCH
sebas/modelistchange
REVISION DETAIL
https://phabricator.kde.org/D3117
AFFECTED FILES
autotests/CMakeLists.txt
autotests/testmodelistchange.cpp
backends/xrandr/xrandroutput.cpp
src/output.cpp
src/output.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: sebas, #plasma
Cc: graesslin, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161019/be69b1ec/attachment-0001.html>
More information about the Plasma-devel
mailing list