1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Fix some minor glitches with Haiku scroll bars

* src/haiku_support.cc (MouseDown): Don't start overscroll if
dragging started inside a button.
This commit is contained in:
Po Lu 2022-03-15 04:46:01 +00:00
parent 90742d7b01
commit e547ca1f89

View file

@ -1785,7 +1785,6 @@ public:
if (buttons == B_PRIMARY_MOUSE_BUTTON)
{
maybe_overscroll = true;
r = ButtonRegionFor (HAIKU_SCROLL_BAR_UP_BUTTON);
if (r.Contains (pt))
@ -1813,6 +1812,8 @@ public:
haiku_write (SCROLL_BAR_PART_EVENT, &part);
goto out;
}
maybe_overscroll = true;
}
rq.dragging_p = 1;