D10343: Create containment on specified screen

Robert Hoffmann noreply at phabricator.kde.org
Tue Feb 6 14:57:36 UTC 2018


hoffmannrobert created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
hoffmannrobert requested review of this revision.

REVISION SUMMARY
  Add methods used by Plasma::Containment *ShellCorona::addPanel(const QString &plugin) (see plasma-workspace):
  Containment *createContainmentForScreen(int screenNum, const QString &name, const QVariantList &args = QVariantList());
  Containment *addContainmentForScreen(int screenNum, const QString &name, const QVariantList &args, uint id, bool delayedInit = false);
  void Containment::setLastScreen(int screen);
  
  These are needed to create panels on the current screen in multi-monitor environments, so panels can be created on all desired screens.
  
  Currently it is only possible to have panels on one screen.

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  master

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

AFFECTED FILES
  src/plasma/containment.cpp
  src/plasma/containment.h
  src/plasma/corona.cpp
  src/plasma/corona.h
  src/plasma/private/corona_p.h

To: hoffmannrobert
Cc: #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180206/5aa5ba64/attachment.html>


More information about the Kde-frameworks-devel mailing list