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 |http://commits.kde.org/libk
                   |screen/6cc05cae8143bf2a1f50 |screen/7367e55b7c172d54d068
                   |389f39cc7976ac7030b7        |eb09f308e92368c294e9
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #37 from Sebastian Kügler <se...@kde.org> ---
Git commit 7367e55b7c172d54d068eb09f308e92368c294e9 by Sebastian Kügler.
Committed on 22/11/2016 at 13:31.
Pushed by sebas into branch 'sebas/dynmodes'.

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/7367e55b7c172d54d068eb09f308e92368c294e9

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

Reply via email to