Skip to content

Commit

Permalink
feat: 不参与合成器崩溃重连
Browse files Browse the repository at this point in the history
应用涉及 GPU 加速,目前合成器重连暂未完整支持,
移除 QT_WAYLAND_RECONNECT 环境变量,不参与合成
器崩溃重连。

Log: 规避部分已知问题
Task: https://pms.uniontech.com/task-view-326583.html
  • Loading branch information
rb-union authored and deepin-bot[bot] committed Mar 26, 2024
1 parent 1689fb2 commit 71912e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ QString getFunctionMovieName()

int main(int argc, char *argv[])
{
// Task 326583 不参与合成器崩溃重连
unsetenv("QT_WAYLAND_RECONNECT");

//for qt5platform-plugins load DPlatformIntegration or DPlatformIntegrationParent
if (!QString(qgetenv("XDG_CURRENT_DESKTOP")).toLower().startsWith("deepin")){
setenv("XDG_CURRENT_DESKTOP", "Deepin", 1);
Expand Down

0 comments on commit 71912e3

Please sign in to comment.