D29876: ScreenPool: Store primary connector separately

Charles Huber noreply at phabricator.kde.org
Sat Oct 3 04:12:28 BST 2020


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

REVISION SUMMARY
  - Store the primary connector in a dedicated config key instead of making slot 0 do double-duty.  This prevents setPrimaryConnector() from renumbering the connector list and 'losing' existing panel/desktop settings.
  - Add a helper function to generate connector names instead of using QScreen::name() everywhere.  The helper function defaults to a QScreen::manufacturer()/model()/serialNumber() tuple where available with a fall-back to the original name() logic.

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  shell/autotests/screenpooltest.cpp
  shell/screenpool.cpp
  shell/screenpool.h
  shell/shellcorona.cpp

To: genpfault
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20201003/477961bb/attachment.htm>


More information about the Plasma-devel mailing list