diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-03-08 09:46:17 +0000 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-03-08 09:46:17 +0000 |
| commit | 92d2331170ce738056ad6bc63fa346174b954f66 (patch) | |
| tree | 816d780b03e2b30ec3e48e5c2b5cea6e852138bd /src/Compositor.cpp | |
| parent | a85a6fa6c8ff9e51ba774cec112b408bce601451 (diff) | |
Events: Avoid sending std::nullptr_t in keyboardFocus
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 66e23b67..04202a02 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -939,7 +939,7 @@ void CCompositor::focusSurface(wlr_surface* pSurface, CWindow* pWindowOwner) { wlr_seat_keyboard_clear_focus(m_sSeat.seat); g_pEventManager->postEvent(SHyprIPCEvent{"activewindow", ","}); // unfocused g_pEventManager->postEvent(SHyprIPCEvent{"activewindowv2", ","}); - EMIT_HOOK_EVENT("keyboardFocus", nullptr); + EMIT_HOOK_EVENT("keyboardFocus", (wlr_surface*)nullptr); m_pLastFocus = nullptr; return; } |
