Compositor: Reworked the compositor detection to make it more robust when switching from one to another in TTY

- Sway seems to leave its SWAYSOCK valid when going back to TTY, which
would break Noctalia on Niri. Was probably fine with a display manager.
+ Autofmt
This commit is contained in:
ItsLemmy
2025-10-07 20:59:33 -04:00
parent de944ca728
commit d8a67ce298
3 changed files with 10 additions and 5 deletions
+1 -2
View File
@@ -297,8 +297,7 @@ NPanel {
}
// Spacer
Item {
}
Item {}
// Navigation and divider
RowLayout {