diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-16 14:21:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-16 14:21:20 +0300 |
commit | b0b0d9f2cfb0157a6278c3cef131378f9878edf3 (patch) | |
tree | 0dee53f1237b684ece270330d8c3763ab80868ac /source/blender/windowmanager/intern/wm_event_system.c | |
parent | d5d83b71f75d8f01f3278020147ebd09040558af (diff) | |
parent | 59bc71d69b138db12c9017c7a7d492fdb6dcddc3 (diff) |
Merge branch 'blender-v2.90-release' into master
Diffstat (limited to 'source/blender/windowmanager/intern/wm_event_system.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index bea4faa779a..1b991112f01 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -1363,8 +1363,7 @@ static int wm_operator_invoke(bContext *C, ScrArea *area = CTX_wm_area(C); /* Wrap only in X for header. */ - if (region && - ELEM(region->regiontype, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER, RGN_TYPE_FOOTER)) { + if (region && RGN_TYPE_IS_HEADER_ANY(region->regiontype)) { wrap = WM_CURSOR_WRAP_X; } |