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

Crashing on wayland #61

Open
ajayd-san opened this issue Jul 3, 2024 · 0 comments
Open

Crashing on wayland #61

ajayd-san opened this issue Jul 3, 2024 · 0 comments

Comments

@ajayd-san
Copy link

ajayd-san commented Jul 3, 2024

Hey,
I was trying to copy bytes to my clipboard using this library using

clipboard.Write(clipboard.FmtText, []byte(id))

But it immediately crashes, with this error:

───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: err.log
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ X Error of failed request:  BadWindow (invalid Window parameter)
   2   │   Major opcode of failed request:  18 (X_ChangeProperty)
   3   │   Resource id in failed request:  0x20000b
   4   │   Serial number of failed request:  16
   5   │   Current serial number in output stream:  18
   6   │ exit status 1

I tried it again in a Xorg session, and it works as intended.

Also I run hyprland on wayland and gnome on xorg (both of them on arch).

I can take up this issue if you point me in the right direction.

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

1 participant