diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-10 11:32:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-27 13:21:48 +0300 |
commit | 2a63e062b0e71c291d57aa155d9462f68fed8535 (patch) | |
tree | 021ccbd04fb17caf169c7f98430caf431c1fbd87 /source/blender/windowmanager/WM_api.h | |
parent | 09c7bfe42b4da7db26888999fda5eb1f53f8ce3c (diff) |
Tests: add --no-window-focus to open window without focus.
This is useful to run OpenGL tests while continuing to do other tasks
without windows constantly popping up in the foreground.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 33e918b25e5..2ff416c0ba6 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -78,6 +78,7 @@ const char *WM_init_state_app_template_get(void); void WM_init_state_size_set (int stax, int stay, int sizx, int sizy); void WM_init_state_fullscreen_set(void); void WM_init_state_normal_set(void); +void WM_init_window_focus_set(bool do_it); void WM_init_native_pixels(bool do_it); void WM_init (struct bContext *C, int argc, const char **argv); |