mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-25 19:55:57 +01:00
Minor fix to dragging
This commit is contained in:
parent
18ebaa7189
commit
376e3745b3
1 changed files with 3 additions and 2 deletions
|
@ -76,7 +76,8 @@ void CHyprBar::onMouseDown(wlr_pointer_button_event* e) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we do this here the handler later will remove our mouse bind
|
// if we call da dispatcher here the handler later will remove our mouse bind
|
||||||
|
if (VECINRECT(COORDS, 0, 0, m_vLastWindowSize.x, *PHEIGHT))
|
||||||
m_bDragPending = true;
|
m_bDragPending = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue