compositor: warn on start via a log about start-hyprland

This commit is contained in:
Vaxry 2025-12-17 19:26:10 +00:00
parent 18901b8e59
commit f88deb928a
No known key found for this signature in database
GPG key ID: 665806380871D640
3 changed files with 10 additions and 3 deletions

View file

@ -142,8 +142,9 @@ static void aqLog(Aquamarine::eBackendLogLevel level, std::string msg) {
Debug::log(aqLevelToHl(level), "[AQ] {}", msg);
}
void CCompositor::setWatchdogFd(int fd) {
bool CCompositor::setWatchdogFd(int fd) {
m_watchdogWriteFd = Hyprutils::OS::CFileDescriptor{fd};
return m_watchdogWriteFd.isValid() && !m_watchdogWriteFd.isClosed();
}
void CCompositor::bumpNofile() {