Skip to content

Commit

Permalink
Adjust Latte Dock to libtaskmanager API changes for Wayland virtual d…
Browse files Browse the repository at this point in the history
…esktop support
  • Loading branch information
Tar-Dingens committed Jan 17, 2019
1 parent 105fed0 commit 47fb713
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plasmoid/package/contents/ui/task/TaskDelegate.qml
Expand Up @@ -762,7 +762,7 @@ MouseArea{

////disable hover effect///
if (isWindow && root.highlightWindows && !containsMouse) {
root.windowsHovered(model.LegacyWinIdList, false);
root.windowsHovered(model.WinIdList, false);
}
}

Expand Down Expand Up @@ -969,7 +969,7 @@ MouseArea{
else{
if (model.IsGroupParent) {
if (Latte.WindowSystem.compositingActive && backend.canPresentWindows()) {
root.presentWindows(model.LegacyWinIdList);
root.presentWindows(model.WinIdList);
} else {
if ((windowsPreviewDlg.visualParent === previewsVisualParent)&&(windowsPreviewDlg.visible)) {
windowsPreviewDlg.hide(3);
Expand Down Expand Up @@ -1024,7 +1024,7 @@ MouseArea{
}

toolTipDelegate.windows = Qt.binding(function() {
return model.LegacyWinIdList;
return model.WinIdList;
});
toolTipDelegate.isGroup = Qt.binding(function() {
return model.IsGroupParent == true;
Expand Down Expand Up @@ -1427,7 +1427,7 @@ MouseArea{
mainItemContainer.preparePreviewWindow(false);
windowsPreviewDlg.show(mainItemContainer);
} else if (mainItemContainer.isWindow && root.highlightWindows) {
root.windowsHovered(model.LegacyWinIdList, mainItemContainer.containsMouse);
root.windowsHovered(model.WinIdList, mainItemContainer.containsMouse);
}
}

Expand Down

0 comments on commit 47fb713

Please sign in to comment.