hiro: Force Gtk3 to use X11 backend
このコミットが含まれているのは:
コミット
19171c2723
|
@ -95,6 +95,8 @@ auto pApplication::state() -> State& {
|
|||
|
||||
auto pApplication::initialize() -> void {
|
||||
#if defined(DISPLAY_XORG)
|
||||
// If running on Wayland, force usage of XWayland
|
||||
setenv("GDK_BACKEND", "x11", 1);
|
||||
XInitThreads();
|
||||
state().display = XOpenDisplay(nullptr);
|
||||
state().screenSaverXDG = (bool)execute("xdg-screensaver", "--version").output.find("xdg-screensaver");
|
||||
|
|
読み込み中…
新しいイシューから参照