Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass through touch/mouse events #125

Closed
magdesign opened this issue Apr 13, 2024 · 2 comments
Closed

pass through touch/mouse events #125

magdesign opened this issue Apr 13, 2024 · 2 comments

Comments

@magdesign
Copy link

is there an option to pass through all touch/mouse events?
so swayimg could for example display a watermark.png with transparency over the full workspace while the user can still interact with touch or mouse to the underlaying workspace.

@artemsen
Copy link
Owner

artemsen commented Apr 13, 2024

Unlike X11, Wayland prohibits direct interaction between windows of different processes.
It is possible to pass the events, but it will require some hacks, such as root rights to manipulating with /dev/uinput. But it is out of an image viewer functionality.

PS. Same problem as in #122.

@magdesign
Copy link
Author

ok. thanks for your fast replay....
then i need to find another way to make 'fake' gamma adjustments with an overlaying png 😅

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

No branches or pull requests

2 participants