From 44862110dec81a45fb9185ef45007e6e5c18cb89 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 25 Feb 2020 09:19:31 +1100 Subject: WM: move cursor refresh tag to the window Avoids having to check the current area is NULL. --- source/blender/makesdna/DNA_windowmanager_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_windowmanager_types.h') diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index b1a797a35fe..8393ca6485f 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -254,7 +254,8 @@ typedef struct wmWindow { short grabcursor; /** Internal: tag this for extra mousemove event, * makes cursors/buttons active on UI switching. */ - short addmousemove; + char addmousemove; + char tag_cursor_refresh; /** Winid also in screens, is for retrieving this window after read. */ int winid; -- cgit v1.2.3