D22571: Allow blacklisting some wayland interfaces

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Jul 19 22:02:24 BST 2019


apol created this revision.
apol added a reviewer: Plasma.
Herald added a project: KWin.
Herald added a subscriber: kwin.
apol requested review of this revision.

REVISION SUMMARY
  For some interfaces, we'll look at the X-KDE-Wayland-Interfaces property in the desktop file to see which interfaces are requested.
  Requires D22570 <https://phabricator.kde.org/D22570>.

TEST PLAN
  Using Plasma with it, things seem to work if I add:
  diff --git a/krunner/krunner.desktop b/krunner/krunner.desktop
  index b68323ff9..aeed607fc 100644
  
  - a/krunner/krunner.desktop
  
  +++ b/krunner/krunner.desktop
  @@ -51,6 +51,7 @@ X-DBUS-ServiceName=org.kde.krunner
   X-KDE-StartupNotify=false
   X-KDE-Shortcuts=Alt+Space,Alt+F2,Search
   Actions=RunClipboard
  +X-KDE-Wayland-Interfaces=org_kde_plasma_window_management
  
  [Desktop Action RunClipboard]
   Exec=krunner -c
  diff --git a/shell/org.kde.plasmashell.desktop b/shell/org.kde.plasmashell.desktop
  index 6c90794e0..d4086b04b 100644
  
  - a/shell/org.kde.plasmashell.desktop
  
  +++ b/shell/org.kde.plasmashell.desktop
  @@ -56,3 +56,5 @@ OnlyShowIn=KDE;
   X-KDE-autostart-phase=0
   Icon=plasma
   NoDisplay=true
  +
  +X-KDE-Wayland-Interfaces=org_kde_plasma_window_management

REPOSITORY
  R108 KWin

BRANCH
  filtered

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

AFFECTED FILES
  wayland_server.cpp

To: apol, #plasma
Cc: kwin, LeGast00n, fmonteiro, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190719/90e94a1b/attachment.html>


More information about the kwin mailing list