D15768: Fix using kscreen with qxl, follow the preferred mode

Aleix Pol Gonzalez noreply at phabricator.kde.org
Wed Sep 26 14:48:53 BST 2018


apol created this revision.
apol added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
apol requested review of this revision.

REVISION SUMMARY
  When using a the qxl driver (for virtual machines), we'll be getting resizes of
  the display by changes on the preferred output id.
  The status quo is that if one runs `xrandr --output Virtual-0 --preferred` after
  resizing the screen, kscreen will be set on the right outputId and just work.
  This shouldn't have an impact on normal use-cases because it's very strange that
  the preferred mode changes at runtime.

TEST PLAN
  Ran it on my laptop, nothing broke. Will test on QXL in a bit.

REPOSITORY
  R104 KScreen

BRANCH
  preferred (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D15768

AFFECTED FILES
  kded/daemon.cpp
  kded/daemon.h

To: apol, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180926/0ab65f14/attachment.html>


More information about the Plasma-devel mailing list