hyprbars: decrease input drag height by 1

This commit is contained in:
Vaxry 2023-12-14 13:09:12 +00:00
parent d4350bfff7
commit af229e6aee
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void CHyprBar::onMouseDown(SCallbackInfo& info, wlr_pointer_button_event* e) {
const bool BUTTONSRIGHT = *PALIGNBUTTONS != "left";
if (!VECINRECT(COORDS, 0, 0, assignedBoxGlobal().w, *PHEIGHT)) {
if (!VECINRECT(COORDS, 0, 0, assignedBoxGlobal().w, *PHEIGHT - 1)) {
if (m_bDraggingThis) {
g_pKeybindManager->m_mDispatchers["mouse"]("0movewindow");