diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-21 14:52:43 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-21 14:52:43 +0100 |
| commit | a61eb7694df25a75f45502ed64b1536fda370c1d (patch) | |
| tree | 30c48c414cec95598c50bed092ee35c19f3e28a2 /src/managers/input/InputMethodRelay.cpp | |
| parent | c6233a790fed3d9a3100e16a73143700846928a2 (diff) | |
hooksystem: add callbackinfo struct and cancellable events
Diffstat (limited to 'src/managers/input/InputMethodRelay.cpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputMethodRelay.cpp b/src/managers/input/InputMethodRelay.cpp index 58ad2a2d..4af17096 100644 --- a/src/managers/input/InputMethodRelay.cpp +++ b/src/managers/input/InputMethodRelay.cpp @@ -3,7 +3,7 @@ #include "../../Compositor.hpp" CInputMethodRelay::CInputMethodRelay() { - g_pHookSystem->hookDynamic("keyboardFocus", [&](void* self, std::any param) { onKeyboardFocus(std::any_cast<wlr_surface*>(param)); }); + g_pHookSystem->hookDynamic("keyboardFocus", [&](void* self, SCallbackInfo& info, std::any param) { onKeyboardFocus(std::any_cast<wlr_surface*>(param)); }); } void CInputMethodRelay::onNewIME(wlr_input_method_v2* pIME) { |
