Updated Running programs natively under Wayland (markdown)

emersion 2018-12-14 12:57:31 +01:00
parent a47a974cbd
commit 5faefe2ded

@ -1,4 +1,4 @@
If your toolkit/library supports this, you can have your apps run natively (without Xwayland) by setting some environment variables (you can add them to your launcher script or a session file (if you're using a dm)).
If your toolkit/library supports this, you can have your apps run natively (without Xwayland) by setting some environment variables (you can add them to your launcher script or a session file if you're using a display manager).
## GTK+ (3.0+)
@ -38,6 +38,10 @@ You could set them to `wayland_shm` instead, if you want to use software renderi
SDL_VIDEODRIVER=wayland
```
## GLFW
Wayland needs to be selected at compile-time. Arch users can install `glfw-wayland`.
## Java under Xwayland
Some Java AWT applications would not display properly unless you set the following.