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:
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…
Reference in New Issue
Block a user