Format change again.

This commit is contained in:
Mathew-D
2026-05-08 10:29:49 -04:00
parent f1cbf72224
commit 32b444c0ca
+2 -3
View File
@@ -46,9 +46,8 @@ SwayOutputBackend::SwayOutputBackend(std::string_view compositorHint) {
const bool hinted = StringUtils::containsInsensitive(compositorHint, "sway");
const char* swaySocket = std::getenv("SWAYSOCK");
const char* i3Socket = std::getenv("I3SOCK");
m_enabled = hinted ||
(swaySocket != nullptr && swaySocket[0] != '\0') ||
(i3Socket != nullptr && i3Socket[0] != '\0');
m_enabled =
hinted || (swaySocket != nullptr && swaySocket[0] != '\0') || (i3Socket != nullptr && i3Socket[0] != '\0');
}
bool SwayOutputBackend::isAvailable() const noexcept { return m_enabled; }