Add clickthrough parameter to windows to allow for floating windows to behave like true HUDs / overlays #2743
zitongcharliedeng
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
|
Guess it shouldn't be too difficult; how exactly does it work, ignore mouse focus unless the window is already focused via keyboard? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yes something like that, we could even separate the properties like
"ignoreMouseFocus" and "IgnoreKeyboardFocus".
…On Tue, 4 Nov 2025, 10:24 Ivan Molodetskikh, ***@***.***> wrote:
Guess it shouldn't be too difficult; how exactly does it work, ignore
mouse focus *unless* the window is already focused via keyboard?
—
Reply to this email directly, view it on GitHub
<#2743 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZ3GVSMZZOZ6AQGL6EZ2YRT33B5E3AVCNFSM6AAAAACLBT4RKKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBWG44TMMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
A nice complimentary property would be blend mode customisation, i.e. I can
make a floating window use additive layering, so black backgrounds appear
transparent, or even green screen keying.
On Tue, 4 Nov 2025, 11:55 Zi-Tong Deng, ***@***.***>
wrote:
… Yes something like that, we could even separate the properties like
"ignoreMouseFocus" and "IgnoreKeyboardFocus".
On Tue, 4 Nov 2025, 10:24 Ivan Molodetskikh, ***@***.***>
wrote:
> Guess it shouldn't be too difficult; how exactly does it work, ignore
> mouse focus *unless* the window is already focused via keyboard?
>
> —
> Reply to this email directly, view it on GitHub
> <#2743 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AZ3GVSMZZOZ6AQGL6EZ2YRT33B5E3AVCNFSM6AAAAACLBT4RKKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIOBWG44TMMI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I like to have floating stickies while playing games e.g. Twitch chat, crosshair overlays, etc. But done with native Niri tooling right now, the overlay floating windows will always steal focus from the main game window due to mouse clicks. If we could just allow target windows to ignore mouse clicks and not steal focus, we could make some pretty cool HUDs just with Niri.
Alternatively we could try wlr-screencopy but that feels like a bandaid and waste of computation if we could have the floating windows natively uninteractable.
Beta Was this translation helpful? Give feedback.
All reactions