diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-03-23 04:00:14 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-03-23 04:00:14 +0300 |
commit | 529c21acc2e6e0830844a610d4f8d6a9b72a9902 (patch) | |
tree | 14a4888aae58eb1bf6b2caa759cbee6970db7f39 /source/blender/windowmanager/wm_window.h | |
parent | aeec19d2e76fc292d21d00090d02c672c3997647 (diff) |
Fix issues with confirmation prompt on Windows
* Pressing "OK" wouldn't close Blender anymore
* Using File -> Quit would use popup version, not OS native window
Cleaned up code a bit to avoid duplicated logic.
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r-- | source/blender/windowmanager/wm_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h index 4313c978ef4..5209af87960 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -78,7 +78,7 @@ void wm_window_IME_end (wmWindow *win); int wm_window_close_exec(bContext *C, struct wmOperator *op); int wm_window_duplicate_exec(bContext *C, struct wmOperator *op); int wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op); -void wm_confirm_quit(bContext *C); +void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) ATTR_NONNULL(); /* Initial (unmaximized) size to start with for * systems that can't find it for themselves (X11). |