Skip to content

Commit 1270eac

Browse files
wpfergusonTurboGit
authored andcommitted
views/view.c - Check the view has changed before processing gui events.
1 parent 2056526 commit 1270eac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/view.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ gboolean dt_view_manager_switch_by_view(dt_view_manager_t *vm,
307307

308308
// show we are busy changing views
309309
dt_control_change_cursor(GDK_WATCH);
310-
dt_gui_process_events();
310+
if(new_view != old_view)
311+
dt_gui_process_events();
311312

312313
/* cleanup current view before initialization of new */
313314
if(old_view)

0 commit comments

Comments
 (0)