1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 01:17:55 +03:00

fix #503,show previews in other winmanagers

This commit is contained in:
Michail Vourlakos 2017-05-29 22:52:26 +03:00
parent 88ddfe32de
commit fa89bd2053

View File

@ -735,6 +735,8 @@ MouseArea{
} else if (mouse.button == Qt.LeftButton){ } else if (mouse.button == Qt.LeftButton){
activateTask(); activateTask();
} }
backend.cancelHighlightWindows();
} }
pressed = false; pressed = false;
@ -829,7 +831,7 @@ MouseArea{
} }
else{ else{
if (model.IsGroupParent) { if (model.IsGroupParent) {
if (Latte.WindowSystem.compositingActive) { if (Latte.WindowSystem.compositingActive && backend.canPresentWindows()) {
root.presentWindows(model.LegacyWinIdList); root.presentWindows(model.LegacyWinIdList);
} else { } else {
if ((windowsPreviewDlg.visualParent === mainItemContainer)&&(windowsPreviewDlg.visible)) { if ((windowsPreviewDlg.visualParent === mainItemContainer)&&(windowsPreviewDlg.visible)) {