From fa89bd2053f9029705c9f16f61983e586d590db0 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 29 May 2017 22:52:26 +0300 Subject: [PATCH] fix #503,show previews in other winmanagers --- plasmoid/package/contents/ui/task/TaskDelegate.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plasmoid/package/contents/ui/task/TaskDelegate.qml b/plasmoid/package/contents/ui/task/TaskDelegate.qml index 91107944b..cf105cfc5 100644 --- a/plasmoid/package/contents/ui/task/TaskDelegate.qml +++ b/plasmoid/package/contents/ui/task/TaskDelegate.qml @@ -735,6 +735,8 @@ MouseArea{ } else if (mouse.button == Qt.LeftButton){ activateTask(); } + + backend.cancelHighlightWindows(); } pressed = false; @@ -829,7 +831,7 @@ MouseArea{ } else{ if (model.IsGroupParent) { - if (Latte.WindowSystem.compositingActive) { + if (Latte.WindowSystem.compositingActive && backend.canPresentWindows()) { root.presentWindows(model.LegacyWinIdList); } else { if ((windowsPreviewDlg.visualParent === mainItemContainer)&&(windowsPreviewDlg.visible)) {