Skip to content

Commit

Permalink
feat: add DDE_CURRENT_COMPOSITER environment
Browse files Browse the repository at this point in the history
some application need check current compositer, so We have this.

Log:
  • Loading branch information
justforlxz committed Jan 2, 2024
1 parent a3d0541 commit b1fa8b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/daemon/Display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ namespace SDDM {
env.insert("WAYLAND_DEBUG", "1");
#endif

env.insert("DDE_CURRENT_COMPOSITER", "TreeLand");

auth->setDisplayServerCommand(QStringLiteral());

Check warning on line 555 in src/daemon/Display.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

syntax error
qInfo() << "WAYLAND_DISPLAY => " << display;
} else {
Expand Down

0 comments on commit b1fa8b1

Please sign in to comment.