main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
Showing only changes of commit 09ba0210d9 - Show all commits

View File

@ -323,7 +323,12 @@ typedef struct wmWindow {
* left/right modifiers then release one. See note in #wm_event_add_ghostevent for details. * left/right modifiers then release one. See note in #wm_event_add_ghostevent for details.
*/ */
struct wmEvent *eventstate; struct wmEvent *eventstate;
/** Keep the last handled event in `event_queue` here (owned and must be freed). */ /**
* Keep the last handled event in `event_queue` here (owned and must be freed).
*
* \warning This must only to be used for event queue logic.
* User interactions should use `eventstate` instead (if the event isn't passed to the function).
*/
struct wmEvent *event_last_handled; struct wmEvent *event_last_handled;
/* Input Method Editor data - complex character input (especially for Asian character input) /* Input Method Editor data - complex character input (especially for Asian character input)