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

X11 instead of XWayland #170

Open
AnalogFeelings opened this issue May 6, 2021 · 5 comments
Open

X11 instead of XWayland #170

AnalogFeelings opened this issue May 6, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@AnalogFeelings
Copy link

Is your feature request related to a problem? Please describe.
This is to prevent issues related to applications not being able to confine the cursor to a specific position (for example, apps that move the cursor to the center constantly to get a fluid camera movement do not work under XWayland).

Describe the solution you'd like
A way to switch between X11 and XWayland.

Describe alternatives you've considered
Haven't been able to find any workarounds or solutions online.

Additional context
...

@AnalogFeelings AnalogFeelings added the enhancement New feature or request label May 6, 2021
@peigongdsd
Copy link

use environment varible to control, like QT_QPA_PLATFORM=wayland/x11 for QT, and similar for gtk.

@AnalogFeelings
Copy link
Author

use environment varible to control, like QT_QPA_PLATFORM=wayland/x11 for QT, and similar for gtk.

I am pretty sure Wine doesn't use either GTK or Qt.

@peigongdsd
Copy link

You can try X410 beside wslg. X410 can listen on hv_socket and wsl2 in 21360 seems to support hv_socket. Just re-export your $DISPLAY and redirect your x11 request to hv_socket via socat.

@imReker
Copy link

imReker commented May 8, 2021

use environment varible to control, like QT_QPA_PLATFORM=wayland/x11 for QT, and similar for gtk.

I am pretty sure Wine doesn't use either GTK or Qt.

You are trying to run CygWin on Wine on Bash on Ubuntu on Windows?

@AnalogFeelings
Copy link
Author

use environment varible to control, like QT_QPA_PLATFORM=wayland/x11 for QT, and similar for gtk.

I am pretty sure Wine doesn't use either GTK or Qt.

You are trying to run CygWin on Wine on Bash on Ubuntu on Windows?

I am running Wine under WSL2 because I need to use a program that stopped working when Windows 8 released. A VM is too slow since its a 3D app.

@AnalogFeelings AnalogFeelings changed the title Direct X11 instead of XWayland X11 instead of XWayland Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants