diff options
| author | diniamo <55629891+diniamo@users.noreply.github.com> | 2024-07-22 11:16:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-22 13:16:25 +0200 |
| commit | d03fa94c2ca1a642959e31adc4fcc2447a3cc623 (patch) | |
| tree | 5ef6f076b04fb0f598cf56d3e9270cb91c7cc3c2 /src/main.cpp | |
| parent | 511e9ccdd199a90a7378fae1f950de6a315cc406 (diff) | |
core: avoid locking 2 wayland sockets (#6971)
* fix: avoid locking 2 wayland sockets
* format
* fix formatting
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1ac3ab8b..3e51c6c8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -147,7 +147,7 @@ int main(int argc, char** argv) { return 1; } - g_pCompositor->initServer(); + g_pCompositor->initServer(socketName, socketFd); if (!envEnabled("HYPRLAND_NO_RT")) Init::gainRealTime(); @@ -155,7 +155,7 @@ int main(int argc, char** argv) { Debug::log(LOG, "Hyprland init finished."); // If all's good to go, start. - g_pCompositor->startCompositor(socketName, socketFd); + g_pCompositor->startCompositor(); g_pCompositor->m_bIsShuttingDown = true; |
