plasma5-workspace/0002-shell-panel-Fix-ability-to-type-in-textfield.patch
Luca Beltrame 06d8e54685 Accepting request 921296 from home:Vogtinator:plasma5.23
- Add patch to fix build with gpsd:
  * 0001-Fix-build-with-gpsd-3.23.1.patch
- Add patch to fix window thumbnails if dmabuf is not supported (kde#428284):
  * 0002-libtaskmanager-Don-t-request-dmabuf-if-not-supported.patch

- Add patches from Plasma/5.23 branch:
  * 0001-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch
  * 0002-shell-panel-Fix-ability-to-type-in-textfield.patch
  * 0003-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch
  * 0004-PipeWire-Make-sure-thumbnails-properly-use-dmabuf-ag.patch
  * 0005-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch
  * 0006-Klipper-Handle-incoming-UTF-8-mime-types.patch
  * 0007-Klipper-Guard-against-broken-data-fetches.patch
  * 0008-pipewire-Properly-compare-pipewire-versions-using-QV.patch
  * 0009-PipeWire-Include-defines-for-older-PipeWire-versions.patch
  * 0010-sddm-theme-fix-default-username-font-size.patch
- Add patch to fix XEmbed context menus (kde#442758)
  * 0011-Revert-xembed-adapt-to-changes-in-KNotifications.patch

OBS-URL: https://build.opensuse.org/request/show/921296
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=615
2021-09-25 13:06:42 +00:00

33 lines
1.0 KiB
Diff

From 078626cdc2aa9fe7d95d671c5ea8d8d2da8d5306 Mon Sep 17 00:00:00 2001
From: David Edmundson <kde@davidedmundson.co.uk>
Date: Sat, 18 Sep 2021 00:43:17 +0100
Subject: [PATCH 02/11] [shell/panel] Fix ability to type in textfield
On wayland the setFlags call does nothing, metadata for interaction is
set through the ShellSurface, by default this does not have focus for
panels.
BUG: 442557
(cherry picked from commit 89edf22e80026377f5a1e22a52efedf00e7f3674)
---
shell/panelconfigview.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/shell/panelconfigview.cpp b/shell/panelconfigview.cpp
index e43d31c33..5870cb03c 100644
--- a/shell/panelconfigview.cpp
+++ b/shell/panelconfigview.cpp
@@ -252,6 +252,7 @@ bool PanelConfigView::event(QEvent *e)
break;
}
m_shellSurface = interface->createSurface(s, this);
+ m_shellSurface->setPanelTakesFocus(true);
}
break;
case QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed:
--
2.33.0