mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02: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:
parent
9a0be43ef5
commit
102c0a96ed
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue