aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorFerdinand Bachmann <[email protected]>2024-07-20 00:37:20 +0200
committerGitHub <[email protected]>2024-07-20 00:37:20 +0200
commitefccf25fcc72b416c63ff540703d9f061f39a7f2 (patch)
treeea08e70802dbf4f94d3d7c7bf7e90b03e97b3a84 /src/Compositor.hpp
parent8e15f91c2417c8f05d69a93f1294185ccc5f8f3e (diff)
downloadHyprland-efccf25fcc72b416c63ff540703d9f061f39a7f2.tar.gz
Hyprland-efccf25fcc72b416c63ff540703d9f061f39a7f2.zip
compositor: implement wayland socket handover (#6930)
* compositor: implement wayland socket handover This commit implements the compositor side of the Wayland socket handover protocol as described in the [KDE Wiki]. The CLI options are chosen so that they are compatible with Kwin. [KDE Wiki]: https://invent.kde.org/plasma/kwin/-/wikis/Restarting * main: verify that --wayland-fd is a valid file descriptor * main: fail if only one of --socket and --wayland-fd is passed
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 17db2c8b..4aec323f 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -78,7 +78,7 @@ class CCompositor {
std::unordered_map<std::string, uint64_t> m_mMonitorIDMap;
void initServer();
- void startCompositor();
+ void startCompositor(std::string socketName, int socketFd);
void cleanup();
void createLockFile();
void removeLockFile();