https://bugs.kde.org/show_bug.cgi?id=356864

Sebastian Kügler <se...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/libk
                   |                            |screen/6cc05cae8143bf2a1f50
                   |                            |389f39cc7976ac7030b7
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #25 from Sebastian Kügler <se...@kde.org> ---
Git commit 6cc05cae8143bf2a1f50389f39cc7976ac7030b7 by Sebastian Kügler.
Committed on 20/10/2016 at 22:07.
Pushed by sebas into branch 'master'.

allow changing an output's modelist at runtime

This 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.

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

Test Plan:
* for library part, autotests are added
* for xrandr backends, we can't sensibly autotest this :(

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: graesslin, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3117

M  +1    -0    autotests/CMakeLists.txt
A  +179  -0    autotests/testmodelistchange.cpp     [License: LGPL (v2.1+)]
M  +9    -1    backends/xrandr/xrandroutput.cpp
M  +36   -1    src/output.cpp
M  +9    -1    src/output.h

http://commits.kde.org/libkscreen/6cc05cae8143bf2a1f50389f39cc7976ac7030b7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to