mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
core: use the simple animation driver
Seems to provide much higher quality animations.
This commit is contained in:
1 file changed
+7
@@ -326,6 +326,13 @@ int qs_main(int argc, char** argv) {
|
||||
qputenv(var.toUtf8(), val.toUtf8());
|
||||
}
|
||||
|
||||
// The simple animation driver seems to work far better than the default one
|
||||
// when more than one window is in use, and even with a single window appears
|
||||
// to improve animation quality.
|
||||
if (!qEnvironmentVariableIsSet("QSG_USE_SIMPLE_ANIMATION_DRIVER")) {
|
||||
qputenv("QSG_USE_SIMPLE_ANIMATION_DRIVER", "1");
|
||||
}
|
||||
|
||||
QGuiApplication::setDesktopSettingsAware(desktopSettingsAware);
|
||||
|
||||
QGuiApplication* app = nullptr;
|
||||
|
||||
Reference in new issue
Block a user