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

Support paste on wayland #1393

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lawrencegripper
Copy link

This uses wtype to support paste on wayland:
https://github.com/atx/wtype

Currently very WIP, need to compile and try it out.

Haven't done much C++ so relying on the existing code for xdotool here just altering the command used.

This uses wtype to support paste on wayland:
https://github.com/atx/wtype

Currently very WIP, need to compile and try it out.

Haven't done much C++ so relying on the existing code for `xdotool` here just altering the command used.
@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented May 28, 2024

Does wtype generally work? How does it behave on xwayland windows? If it works on all windows we could simply query the platform and use the correct tool.

@lawrencegripper
Copy link
Author

I'm not sure, my hope was to create this draft then give it a test but life and work has got in the way.

My rough understanding is that it's an equivalent to xdotool on Wayland but I've not used it as I only recently moved to wayland.

I'll try and get some time to try this out. If there a guide for building and trying out a change locally? I've not working C++ before.

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Jun 3, 2024

I'll try and get some time to try this out. If there a guide for building and trying out a change locally? I've not working C++ before.

dont bother i'll do that. i just have to know the behavior. if their effect is mutually exclusive we could probably simply call both (xdotool and wtype).

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

Successfully merging this pull request may close these issues.

None yet

2 participants