mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 02:35:57 +01:00
hyprbars: fixup condition for button down
This commit is contained in:
parent
1ce5b7a046
commit
4bfa885feb
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void CHyprBar::onMouseDown(SCallbackInfo& info, IPointer::SButtonEvent e) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!e.state != WL_POINTER_BUTTON_STATE_PRESSED) {
|
if (e.state != WL_POINTER_BUTTON_STATE_PRESSED) {
|
||||||
|
|
||||||
if (m_bCancelledDown)
|
if (m_bCancelledDown)
|
||||||
info.cancelled = true;
|
info.cancelled = true;
|
||||||
|
|
Loading…
Reference in a new issue