mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 00:45:58 +01:00
Added mouseMove event
This commit is contained in:
parent
5e48e6b075
commit
a224d366ca
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
if (MOUSECOORDSFLOORED == m_vLastCursorPosFloored && !refocus)
|
if (MOUSECOORDSFLOORED == m_vLastCursorPosFloored && !refocus)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
EMIT_HOOK_EVENT("mouseMove", MOUSECOORDSFLOORED);
|
||||||
|
|
||||||
m_vLastCursorPosFloored = MOUSECOORDSFLOORED;
|
m_vLastCursorPosFloored = MOUSECOORDSFLOORED;
|
||||||
|
|
||||||
const auto PMONITOR = g_pCompositor->getMonitorFromCursor();
|
const auto PMONITOR = g_pCompositor->getMonitorFromCursor();
|
||||||
|
|
Loading…
Reference in a new issue