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

xwayland apps not clickable #397

Closed
wiiznokes opened this issue Apr 1, 2024 · 6 comments · Fixed by #575
Closed

xwayland apps not clickable #397

wiiznokes opened this issue Apr 1, 2024 · 6 comments · Fixed by #575
Milestone

Comments

@wiiznokes
Copy link

I noticed that after some time, vs code become not clickable, at least some part of the windows. This happen in both floating and tilling.
It's only the bottom left part that is not clickable.
Curiously, the bug seems to appears only when the window is on the left side of my screen.

@ryanabx
Copy link
Contributor

ryanabx commented Apr 4, 2024

I've had this issue with vscode and GitHub desktop, both electron/xwayland apps

@wiiznokes
Copy link
Author

Maybe it only with nvidia driver, i don't have this issue on my laptop

@ryanabx
Copy link
Contributor

ryanabx commented Apr 6, 2024

Nope, I'm not running nvidia

@mmstick
Copy link
Member

mmstick commented Apr 6, 2024

You have to unstack and restack XWayland windows when they do this.

@wiiznokes
Copy link
Author

You have to unstack and restack XWayland windows when they do this.

That don't fix it for me

@mmstick
Copy link
Member

mmstick commented May 9, 2024

Here's a workaround for VS Code to enable Wayland support.

  1. Copy VS Code's code.desktop file your your home folder
mkdir -p ~/.local/share/applications
cp /usr/share/applications/code.desktop ~/.local/share/applications/
  1. Edit the Exec line to the following
Exec=/usr/share/code/code --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto --unity-launch %F
  1. Create an alias for code in your ~/.bashrc
alias code='code --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Alpha 1 Complete
Development

Successfully merging a pull request may close this issue.

4 participants