Skip to content

Commit 41a7e75

Browse files
arch1t3chtmojie126
authored andcommitted
Print message when automatically falling back to X11
1 parent f037ed9 commit 41a7e75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ AegisubApp::AegisubApp() {
106106
wxString wayland_display = wxGetenv("WAYLAND_DISPLAY");
107107

108108
if (xdg_session_type == "wayland" || wayland_display.Contains("wayland")) {
109+
printf("Warning: Running on Wayland, but wxWidgets is not compiled with EGL support. Falling back to X11.\n");
109110
wxSetEnv("GDK_BACKEND", "x11");
110111
}
111112
#endif

0 commit comments

Comments
 (0)