diff options
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index aa2e185d..fed08f52 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -611,10 +611,18 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev) | |||
611 | if (contains_Widget(d->resizer, mouse)) { | 611 | if (contains_Widget(d->resizer, mouse)) { |
612 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_SIZEWE); | 612 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_SIZEWE); |
613 | } | 613 | } |
614 | else if (contains_Widget(constAs_Widget(d->scroll), mouse)) { | ||
615 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_ARROW); | ||
616 | } | ||
614 | else { | 617 | else { |
615 | if (contains_Widget(w, mouse)) { | 618 | if (contains_Widget(w, mouse)) { |
616 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_ARROW); | ||
617 | hover = itemIndex_SidebarWidget_(d, mouse); | 619 | hover = itemIndex_SidebarWidget_(d, mouse); |
620 | if (hover != iInvalidPos && d->mode != identities_SidebarMode) { | ||
621 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_HAND); | ||
622 | } | ||
623 | else { | ||
624 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_ARROW); | ||
625 | } | ||
618 | } | 626 | } |
619 | } | 627 | } |
620 | if (hover != d->hoverItem) { | 628 | if (hover != d->hoverItem) { |