mirror of
https://github.com/Trensa-Organization/Hyprland.git
synced 2025-03-16 03:03:40 +01:00
input: fixup frame schedule conditions on mouse move
This commit is contained in:
parent
2901bb0d2f
commit
f803be3d31
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
||||||
if (*PZOOMFACTOR != 1.f)
|
if (*PZOOMFACTOR != 1.f)
|
||||||
g_pHyprRenderer->damageMonitor(PMONITOR);
|
g_pHyprRenderer->damageMonitor(PMONITOR);
|
||||||
|
|
||||||
if (!PMONITOR->solitaryClient) // if there is a solitary client we can't schedule a frame here, this will completely fuck up drm
|
if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor())
|
||||||
g_pCompositor->scheduleFrameForMonitor(PMONITOR);
|
g_pCompositor->scheduleFrameForMonitor(PMONITOR);
|
||||||
|
|
||||||
CWindow* forcedFocus = m_pForcedFocus;
|
CWindow* forcedFocus = m_pForcedFocus;
|
||||||
|
|
Loading…
Add table
Reference in a new issue