diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index c92b78ad..0849f65a 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -77,6 +77,18 @@ StyledWindow { Region { id: emptyRegion + + x: panels.notifications.x + bar.implicitWidth + y: panels.notifications.y + root.borderThickness + width: panels.notifications.width + height: panels.notifications.height + + Region { + x: root.width - width + y: panels.osdWrapper.y + root.borderThickness + width: panels.osdWrapper.width * (1 - panels.osd.offsetScale) + root.borderThickness + height: panels.osd.height + } } Regions { diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml index bef8f4b8..b89cb007 100644 --- a/modules/drawers/Interactions.qml +++ b/modules/drawers/Interactions.qml @@ -61,7 +61,7 @@ CustomMouseArea { anchors.fill: parent acceptedButtons: fullscreen ? Qt.NoButton : Qt.AllButtons - hoverEnabled: !fullscreen + hoverEnabled: true onPressed: event => dragStart = Qt.point(event.x, event.y) onContainsMouseChanged: { @@ -97,6 +97,11 @@ CustomMouseArea { const dragX = x - dragStart.x; const dragY = y - dragStart.y; + if (fullscreen) { + root.panels.osd.hovered = inRightPanel(panels.osdWrapper, x, y); + return; + } + // Show bar in non-exclusive mode on hover if (!visibilities.bar && Config.bar.showOnHover && x < bar.clampedWidth) bar.isHovered = true;