Hacker News new | ask | show | jobs
by tsar9x 1896 days ago
You are running Xwayland not wayland.
1 comments

I am running native Wayland, not xwayland
How? Are you using custom JDK with Wayland?
Not an expert on the subject, but AFAIK Jetbrains runs their own Java VM by default.

To run intellij on Wayland you do need _JAVA_AWT_WM_NONREPARENTING=1 in your env. It works, but has some quirks as I wrote above.

Sorry, that's not true. This just makes it "work", but it's still being rendered in Xwayland.

Here's how you can test:

Run intellij; `pkill Xwayland`

or, try running intellij on a machine which does not have xwayland installed at all.

The thing is: wayland does _not_ have scaling issues, those are inherently X11 problems.

The issue which is tracking this: https://youtrack.jetbrains.com/issue/JBR-3206

I also just ran this and watched for Xwayland to spawn, killed Xwayland and it died.

Looks like you are right, I didn't realize that Xwayland was still used in the background.