Skip to content

fix: bar revealed on fullscreen when monitor did not have focus#49

Merged
Axenide merged 2 commits intoAxenide:mainfrom
vinatic:main
Feb 10, 2026
Merged

fix: bar revealed on fullscreen when monitor did not have focus#49
Axenide merged 2 commits intoAxenide:mainfrom
vinatic:main

Conversation

@vinatic
Copy link
Copy Markdown
Contributor

@vinatic vinatic commented Feb 6, 2026

The variable ToplevelManager.activeToplevel does only give toplevel on monitor where mouse/focus is. When pin is active and mouse leaves monitor with fullscreen application, the bar reveals itself when it should not. The hyprlandMonitor.activeWorkspace.toplevels.values variable only gives toplevels that are relevant to each bar.

A diffrent fix could be:
readonly property bool activeWindowFullscreen: {
if (!hyprlandMonitor) return false;
return hyprlandMonitor.hasFullscreen == true;
}

We can skip the loop but Hyprland has 2 definitions of fullscreen, where hyprlandMonitor.hasFullscreen == true; triggers on both definitions. The problem with this is if you trigger the semi fullscreen state. Then the bar hides itself but it still takes up space on the desktop. While Wayland.toplevel.fullscreen only triggers on real fullscreen.

The Notch did hide on the semi fullscreen and ScreenCorners complained about bind loop. That is fixed with this patch

@Axenide Axenide merged commit a47311b into Axenide:main Feb 10, 2026
@Axenide
Copy link
Copy Markdown
Owner

Axenide commented Feb 10, 2026

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants