Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:2-TestDVD
plasma5-workspace
0025-Don-t-load-menu-when-switching-window-focu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0025-Don-t-load-menu-when-switching-window-focus-to-the-d.patch of Package plasma5-workspace
From ee2ed00a1ee245fd13f7add8230917f0ba4dcb20 Mon Sep 17 00:00:00 2001 From: David Edmundson <kde@davidedmundson.co.uk> Date: Mon, 16 Jan 2017 12:43:01 +0000 Subject: [PATCH 25/44] Don't load menu when switching window focus to the desktop Summary: This makes the appmenu plasmoid applet on the desktop work. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4158 --- applets/appmenu/plugin/appmenumodel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applets/appmenu/plugin/appmenumodel.cpp b/applets/appmenu/plugin/appmenumodel.cpp index cb205c57..4130d97f 100644 --- a/applets/appmenu/plugin/appmenumodel.cpp +++ b/applets/appmenu/plugin/appmenumodel.cpp @@ -160,7 +160,9 @@ void AppMenuModel::onActiveWindowChanged(WId id) }; KWindowInfo info(id, NET::WMState | NET::WMWindowType, NET::WM2TransientFor); - if (info.hasState(NET::SkipTaskbar) || info.windowType(NET::UtilityMask) == NET::Utility) { + if (info.hasState(NET::SkipTaskbar) || + info.windowType(NET::UtilityMask) == NET::Utility || + info.windowType(NET::DesktopMask) == NET::Desktop) { return; } -- 2.12.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor