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

diff code to enable sdl windows on pure wayland #62

Closed
limbo127 opened this issue Oct 28, 2024 · 1 comment
Closed

diff code to enable sdl windows on pure wayland #62

limbo127 opened this issue Oct 28, 2024 · 1 comment

Comments

@limbo127
Copy link

without that, mvisor sdl ui always using Xwayland

--- tmp/mvisor/main.cc 2024-10-28 12:01:10.007219778 +0100
+++ main.cc 2024-10-28 11:42:39.140473441 +0100
@@ -222,7 +222,8 @@
}

 const char* displayVar = std::getenv("DISPLAY");
  • if (displayVar == nullptr) {
  • const char* waylandVar = std::getenv("WAYLAND_DISPLAY");
  • if (displayVar == nullptr && waylandVar == nullptr) {
    if (vnc_port == 0) {
    vnc_port = 5901;
    }
@limbo127
Copy link
Author

close by pull request submit #64

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