mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Re-enable XWayland by default on GNOME.
Should fix #17457, fix #17468, fix #17476, fix #17477, fix #1747, fix #17481, fix #17498.
This commit is contained in:
@@ -59,7 +59,12 @@ FilteredCommandLineArguments::FilteredCommandLineArguments(
|
|||||||
pushArgument("cocoa:fontengine=freetype");
|
pushArgument("cocoa:fontengine=freetype");
|
||||||
#endif // !Q_OS_WIN
|
#endif // !Q_OS_WIN
|
||||||
}
|
}
|
||||||
#endif // Q_OS_WIN || Q_OS_MAC
|
#elif defined Q_OS_UNIX
|
||||||
|
if (Platform::DesktopEnvironment::IsGnome()) {
|
||||||
|
pushArgument("-platform");
|
||||||
|
pushArgument("xcb;wayland");
|
||||||
|
}
|
||||||
|
#endif // Q_OS_WIN || Q_OS_MAC || Q_OS_UNIX
|
||||||
|
|
||||||
pushArgument(nullptr);
|
pushArgument(nullptr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user