Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-25 01:19:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-25 01:19:31 +0300
commit44862110dec81a45fb9185ef45007e6e5c18cb89 (patch)
tree86172e91139096334660288496de44cd8facbce5 /source/blender/makesdna/DNA_windowmanager_types.h
parentf61f26b033fd7d9c8b8bbf8b77cb24ef902f5ba8 (diff)
WM: move cursor refresh tag to the window
Avoids having to check the current area is NULL.
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h3
1 files changed, 2 insertions, 1 deletions
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;