fix #503,show previews in other winmanagers

pull/1/head
Michail Vourlakos 8 years ago
parent 88ddfe32de
commit fa89bd2053

@ -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)) {

Loading…
Cancel
Save