dde-daemon/0001-to-fix-a-potential-crash-issue-in-the-control-center.patch

27 lines
805 B
Diff

From 95f9ca4ca8ac63a51a15742044a538a2e0418b12 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Mon, 18 Dec 2023 17:33:22 +0800
Subject: [PATCH] test
---
keybinding/shortcuts/shortcut_manager.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/keybinding/shortcuts/shortcut_manager.go b/keybinding/shortcuts/shortcut_manager.go
index 84e3c05..7c8a2be 100644
--- a/keybinding/shortcuts/shortcut_manager.go
+++ b/keybinding/shortcuts/shortcut_manager.go
@@ -938,6 +938,9 @@ func (sm *ShortcutManager) AddKWin(wmObj wm.Wm) {
logger.Debugf("release type is server filter '%s'", accel.Id)
continue
}
+ if accel.Id == "preview-workspace" || accel.Id == "color-picker" {
+ continue
+ }
name := idNameMap[accel.Id]
if name == "" {
name = accel.Id
--
2.27.0