Skip to content

Commit

Permalink
fix: not reconnect to treeland
Browse files Browse the repository at this point in the history
log: as title
  • Loading branch information
tsic404 committed Dec 23, 2024
1 parent 2122d2b commit 71e56ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dde-session/environmentsmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ void EnvironmentsManager::createGeneralEnvironments()
m_envMap.insert("QT_QPA_PLATFORM", "dxcb;xcb");
} else if (sessionType == "wayland") {
m_envMap.insert("QT_QPA_PLATFORM", "wayland;xcb");
m_envMap.insert("QT_WAYLAND_RECONNECT", "1");
m_envMap.insert("QT_WAYLAND_SHELL_INTEGRATION", "xdg-shell;wl-shell;ivi-shell;qt-shell;");
m_envMap.insert("XCURSOR_SIZE", "24");
}
Expand Down

0 comments on commit 71e56ba

Please sign in to comment.