mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 08:45:58 +01:00
fix warn
This commit is contained in:
parent
be8cf8ea1e
commit
fc49a055c6
1 changed files with 1 additions and 1 deletions
|
@ -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<void*>{PWINDOW, (void*)(E ? (int)E->minimized : 1)}));
|
||||
EMIT_HOOK_EVENT("minimize", (std::vector<void*>{PWINDOW, (void*)(E ? (uint64_t)E->minimized : 1)}));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue