From 94ddcf56b6a499592b4f5273be5a08f28b4cf433 Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 14 Jun 2016 12:04:26 +0200 Subject: [PATCH] Fixed freeze that sometimes happened at least on OS X --- src/notebook.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notebook.cc b/src/notebook.cc index c226a3d..850c6e4 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -384,8 +384,8 @@ void Notebook::toggle_split() { show_all(); //Make sure the position is correct //TODO: report bug to gtk if it is not fixed in gtk3.22 - while(g_main_context_pending(NULL)) - g_main_context_iteration(NULL, false); + //while(g_main_context_pending(NULL)) //Caused freeze on OS X sometimes + //g_main_context_iteration(NULL, false); set_position(get_width()/2); } else {