Fix #110085: Ignore Scroller Zone when on a Screen Edge #110402
|
@ -895,7 +895,10 @@ static void screen_cursor_set(wmWindow *win, const int xy[2])
|
|||
ScrArea *area = nullptr;
|
||||
|
||||
LISTBASE_FOREACH (ScrArea *, area_iter, &screen->areabase) {
|
||||
if ((az = ED_area_actionzone_find_xy(area_iter, xy))) {
|
||||
az = ED_area_actionzone_find_xy(area_iter, xy);
|
||||
/* Scrollers use default cursor and their zones extend outside of their
|
||||
* areas. Ignore here so we can always detect screen edges - #110085. */
|
||||
if (az && az->type != AZONE_REGION_SCROLL) {
|
||||
area = area_iter;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue