From 7f1a6c3d6c4486296eed6d71628703d74ab3ba62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Zag=C3=B3rowski?= Date: Tue, 24 Oct 2023 21:06:35 +0200 Subject: [PATCH] BREAKING: add callback info --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 97423e7..446876a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,6 +7,7 @@ #include #include "globals.hpp" +#include "hyprland/src/SharedDefs.hpp" #include #include @@ -148,7 +149,7 @@ void mapWorkspacesToMonitors() } } -void refreshMapping(void*, std::any value) +void refreshMapping(void*, SCallbackInfo&, std::any) { mapWorkspacesToMonitors(); }