diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-08 20:04:33 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-10 10:14:38 +0200 |
commit | 4dd014815bbfad561cb649959bd856348dc0cfcb (patch) | |
tree | 02ec99f6c3016a55e7c2f292562843f691296c4b /kde-frameworks/kwayland/files | |
parent | kde-frameworks/kquickcharts: drop 5.98.0 (diff) | |
download | gentoo-4dd014815bbfad561cb649959bd856348dc0cfcb.tar.gz gentoo-4dd014815bbfad561cb649959bd856348dc0cfcb.tar.bz2 gentoo-4dd014815bbfad561cb649959bd856348dc0cfcb.zip |
kde-frameworks/kwayland: drop 5.98.0-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kwayland/files')
-rw-r--r-- | kde-frameworks/kwayland/files/kwayland-5.98.0-plasmashell-fallback-for-applet-popups.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/kde-frameworks/kwayland/files/kwayland-5.98.0-plasmashell-fallback-for-applet-popups.patch b/kde-frameworks/kwayland/files/kwayland-5.98.0-plasmashell-fallback-for-applet-popups.patch deleted file mode 100644 index 7cc45ad8e2e6..000000000000 --- a/kde-frameworks/kwayland/files/kwayland-5.98.0-plasmashell-fallback-for-applet-popups.patch +++ /dev/null @@ -1,37 +0,0 @@ -From d02188ad1f6222215adcf842f4c9806ba9e62ccb Mon Sep 17 00:00:00 2001 -From: Xaver Hugl <xaver.hugl@gmail.com> -Date: Sat, 17 Sep 2022 01:18:28 +0200 -Subject: [PATCH] client/plasmashell: add fallback for applet popups - -When the compositor doesn't support applet popups, the current code sends an -invalid surface role. This causes KWin to fall back to the "normal" surface role -and do normal window placement on it. - -CCBUG: 459188 ---- - src/client/plasmashell.cpp | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/client/plasmashell.cpp b/src/client/plasmashell.cpp -index dc613cb..93bc31c 100644 ---- a/src/client/plasmashell.cpp -+++ b/src/client/plasmashell.cpp -@@ -276,7 +276,14 @@ void PlasmaShellSurface::setRole(PlasmaShellSurface::Role role) - } - break; - case Role::AppletPopup: -- wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP; -+ // ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP_SINCE_VERSION is not used for this check -+ // because it wrongly is 7 with old plasma wayland protocols -+ if (wl_proxy_get_version(d->surface) < 8) { -+ // dock is what applet popups were before -+ wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_PANEL; -+ } else { -+ wlRole = ORG_KDE_PLASMA_SURFACE_ROLE_APPLETPOPUP; -+ } - break; - default: - Q_UNREACHABLE(); --- -GitLab - |