Skip to content

add overlay for mouse stroke triggers - #78

Merged
taj-ny merged 1 commit into
mainfrom
overlay
Sep 24, 2026
Merged

taj-ny merged 1 commit into
mainfrom
overlay

Conversation

@taj-ny

@taj-ny taj-ny commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

It's a standalone program because I'm not implementing this in the compositor, so it works in any environment where the compositor implements the wlr layer shell protocol.

2026-09-24.16-25-31.mp4

Issues:

  • captures mouse events, so mouse input actions will not work unless manually delayed (keyboard input and plasma shortcuts are fine) that was just me being dumb,
  • overrides the window_under_pointer variables after triggers are activated (trigger activation conditions are not affected but action conditions are),
  • overlay has the window open animation, the only workaround i found is to set the window size to 1x1 instead of hiding it, but that still captures clicks and probably prevents direct scanout found a workaround,
  • no customization (this one will be fixed in the future).

InputActions/discussions#479

@taj-ny
taj-ny force-pushed the overlay branch 3 times, most recently from 5e47396 to 5b01a7c Compare September 24, 2026 16:37
@taj-ny
taj-ny marked this pull request as ready for review September 24, 2026 16:39
@taj-ny
taj-ny merged commit 7ed9d4c into main Sep 24, 2026
3 checks passed
@taj-ny
taj-ny deleted the overlay branch September 24, 2026 16:42
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.

1 participant