diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 89696082e7a..2fee8dde3f9 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -624,9 +624,9 @@ void wm_window_title(wmWindowManager *wm, wmWindow *win) GHOST_SetTitle(win->ghostwin, "Blender"); } - /* Informs GHOST of unsaved changes, to set window modified visual indicator (MAC OS X) - * and to give hint of unsaved changes for a user warning mechanism - * in case of OS application terminate request (e.g. OS Shortcut Alt+F4, Cmd+Q, (...), or session end) */ + /* Informs GHOST of unsaved changes, to set window modified visual indicator (macOS) + * and to give hint of unsaved changes for a user warning mechanism in case of OS + * application terminate request (e.g. OS Shortcut Alt+F4, Cmd+Q, (...), or session end). */ GHOST_SetWindowModifiedState(win->ghostwin, (GHOST_TUns8)!wm->file_saved); } } @@ -1271,8 +1271,9 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr GHOST_TEventDataPtr data = GHOST_GetEventData(evt); wmWindow *win; - /* Ghost now can call this function for life resizes, but it should return if WM didn't initialize yet. - * Can happen on file read (especially full size window) */ + /* Ghost now can call this function for life resizes, + * but it should return if WM didn't initialize yet. + * Can happen on file read (especially full size window). */ if ((wm->initialized & WM_WINDOW_IS_INITIALIZED) == 0) { return 1; } @@ -2197,7 +2198,8 @@ bool WM_window_is_fullscreen(wmWindow *win) /** * Some editor data may need to be synced with scene data (3D View camera and layers). - * This function ensures data is synced for editors in visible workspaces and their visible layouts. + * This function ensures data is synced for editors + * in visible workspaces and their visible layouts. */ void WM_windows_scene_data_sync(const ListBase *win_lb, Scene *scene) { |