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:
parent
90742d7b01
commit
e547ca1f89
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue