File 0001-taskmanagerrulesrc-Add-Rewrite-Rule-for-Google-chrom.patch of Package plasma5-workspace.openSUSE_Leap_42.2_Update

From 6995ba91368aafdb79f49eee379bd7c8ed79b671 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Tue, 8 Nov 2016 15:14:33 +0100
Subject: [PATCH 1/5] [taskmanagerrulesrc] Add Rewrite Rule for Google-chrome

Google Chrome needlessly changed its window class class to Google-chrome
(was google-chrome previously) breaking our launcher mapping.

BUG: 372211
FIXED-IN: 5.8.4

Differential Revision: https://phabricator.kde.org/D3308
---
 libtaskmanager/taskmanagerrulesrc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libtaskmanager/taskmanagerrulesrc b/libtaskmanager/taskmanagerrulesrc
index 56ff05b..915f99f 100644
--- a/libtaskmanager/taskmanagerrulesrc
+++ b/libtaskmanager/taskmanagerrulesrc
@@ -22,6 +22,13 @@ Identifier=DesktopEntryName
 Match=(?<=crx_)(?'match'[a-z]+)
 Target=chrome-%1-default
 
+# Google changed the class to be "Google-chrome" around version 54
+[Rewrite Rules][Google-chrome][1]
+Property=ClassName
+Identifier=DesktopEntryName
+Match=(?<=crx_)(?'match'[a-z]+)
+Target=chrome-%1-default
+
 [Rewrite Rules][chromium][1]
 Property=ClassName
 Identifier=DesktopEntryName
-- 
2.10.1

openSUSE Build Service is sponsored by