mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-26 01:13:47 -07:00
fix warn
This commit is contained in:
@@ -109,11 +109,9 @@ void Events::listener_newConstraint(wl_listener* listener, void* data) {
|
|||||||
if (g_pCompositor->m_pLastFocus == PCONSTRAINT->surface) {
|
if (g_pCompositor->m_pLastFocus == PCONSTRAINT->surface) {
|
||||||
g_pInputManager->constrainMouse(CONSTRAINT->pMouse, PCONSTRAINT);
|
g_pInputManager->constrainMouse(CONSTRAINT->pMouse, PCONSTRAINT);
|
||||||
|
|
||||||
if (!CONSTRAINT->hintSet) {
|
if (!CONSTRAINT->hintSet)
|
||||||
const auto PWINDOW = g_pCompositor->getConstraintWindow(g_pCompositor->m_sSeat.mouse);
|
|
||||||
CONSTRAINT->positionHint = Vector2D{-1, -1};
|
CONSTRAINT->positionHint = Vector2D{-1, -1};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Events::listener_destroyConstraint(void* owner, void* data) {
|
void Events::listener_destroyConstraint(void* owner, void* data) {
|
||||||
|
Reference in New Issue
Block a user