From fc49a055c696faab78047dcb1d5215d6b73be12a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:01:03 +0000 Subject: [PATCH] fix warn --- src/events/Windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 5c954f68..7e6e2ca7 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -1055,7 +1055,7 @@ void Events::listener_requestMinimize(void* owner, void* data) { } else { const auto E = (wlr_foreign_toplevel_handle_v1_minimized_event*)data; g_pEventManager->postEvent({"minimize", getFormat("%x,%i", PWINDOW, E ? (int)E->minimized : 1)}); - EMIT_HOOK_EVENT("minimize", (std::vector{PWINDOW, (void*)(E ? (int)E->minimized : 1)})); + EMIT_HOOK_EVENT("minimize", (std::vector{PWINDOW, (void*)(E ? (uint64_t)E->minimized : 1)})); } }