quickshell: raise bar to overlay layer while OSD is shown
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
960ee94e81
commit
3030d20034
1 changed files with 4 additions and 0 deletions
|
|
@ -1790,6 +1790,10 @@ in
|
||||||
required property var shellRoot
|
required property var shellRoot
|
||||||
screen: modelData
|
screen: modelData
|
||||||
WlrLayershell.namespace: "quickshell-bar"
|
WlrLayershell.namespace: "quickshell-bar"
|
||||||
|
// Hyprland doesn't render the top layer under a fullscreen
|
||||||
|
// window, so the OSD would be invisible exactly when a video
|
||||||
|
// is playing. Ride the overlay layer while it's on screen.
|
||||||
|
WlrLayershell.layer: osdItem.shown ? WlrLayer.Overlay : WlrLayer.Top
|
||||||
// OnDemand + HyprlandFocusGrab is the working combination
|
// OnDemand + HyprlandFocusGrab is the working combination
|
||||||
// (caelestia's): the grab redirects focus to this window and
|
// (caelestia's): the grab redirects focus to this window and
|
||||||
// OnDemand lets the layer surface accept it. Exclusive fights
|
// OnDemand lets the layer surface accept it. Exclusive fights
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue