compositor: warn on start via a log about start-hyprland
This commit is contained in:
parent
18901b8e59
commit
f88deb928a
3 changed files with 10 additions and 3 deletions
|
|
@ -211,10 +211,16 @@ int main(int argc, char** argv) {
|
|||
|
||||
reapZombieChildrenAutomatically();
|
||||
|
||||
bool watchdogOk = watchdogFd > 0;
|
||||
|
||||
if (watchdogFd > 0)
|
||||
g_pCompositor->setWatchdogFd(watchdogFd);
|
||||
watchdogOk = g_pCompositor->setWatchdogFd(watchdogFd);
|
||||
if (safeMode)
|
||||
g_pCompositor->m_safeMode = true;
|
||||
|
||||
if (!watchdogOk)
|
||||
Debug::log(WARN, "WARNING: Hyprland is being launched without start-hyprland. This is highly advised against.");
|
||||
|
||||
g_pCompositor->initServer(socketName, socketFd);
|
||||
|
||||
if (verifyConfig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue