Soc Virnyl Estela 2022-12-02 21:02:50 +00:00 committed by Git OBS Bridge
parent dc9f876446
commit db38cd0b44

View File

@ -1,5 +1,5 @@
diff --git a/src/modules/hyprland/backend.cpp b/src/modules/hyprland/backend.cpp
index f110825..33212c7 100644
index 76c071c..33212c7 100644
--- a/src/modules/hyprland/backend.cpp
+++ b/src/modules/hyprland/backend.cpp
@@ -132,15 +132,20 @@ void IPC::unregisterForIPC(EventHandler* ev_handler) {
@ -17,7 +17,7 @@ index f110825..33212c7 100644
return "";
}
-
- const auto SERVER = getaddrinfo("localhost", NULL, NULL, 0);
- const auto SERVER = gethostbyname("localhost");
+
+ memset(&ai_hints, 0, sizeof(struct addrinfo));
+ ai_hints.ai_family = AF_UNSPEC;