diff options
Diffstat (limited to 'modules/bar/components/ActiveWindow.qml')
| -rw-r--r-- | modules/bar/components/ActiveWindow.qml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/bar/components/ActiveWindow.qml b/modules/bar/components/ActiveWindow.qml index 414c9c5..3eb6904 100644 --- a/modules/bar/components/ActiveWindow.qml +++ b/modules/bar/components/ActiveWindow.qml @@ -38,31 +38,6 @@ Item { implicitWidth: Math.max(icon.implicitWidth, current.implicitHeight) implicitHeight: icon.implicitHeight + current.implicitWidth + current.anchors.topMargin - Loader { - anchors.fill: parent - active: !Config.bar.activeWindow.showOnHover - - sourceComponent: MouseArea { - cursorShape: Qt.PointingHandCursor - hoverEnabled: true - onPositionChanged: { - const popouts = root.bar.popouts; - if (popouts.hasCurrent && popouts.currentName !== "activewindow") - popouts.hasCurrent = false; - } - onClicked: { - const popouts = root.bar.popouts; - if (popouts.hasCurrent) { - popouts.hasCurrent = false; - } else { - popouts.currentName = "activewindow"; - popouts.currentCenter = root.mapToItem(root.bar, 0, root.implicitHeight / 2).y; - popouts.hasCurrent = true; - } - } - } - } - MaterialIcon { id: icon |