From 10a01828a16e0038c598b2ea98e7ac00606d297d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 20 Jun 2008 00:56:05 +0000 Subject: [PATCH] The main thread was used as BApplication thread and a new thread as worker thread. That sounds somehow reasonable, but has the problem that signals to the process hit a thread that doesn't know how to handle them. Fortunately the author already prepared the code to switch the thread tasks. In the Terminal vim does now correctly react on window resizes. Probably also fixes #2393. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26034 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/vim/src/gui_beos.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/vim/src/gui_beos.cc b/src/bin/vim/src/gui_beos.cc index ee3fa225ae..e0c9690594 100644 --- a/src/bin/vim/src/gui_beos.cc +++ b/src/bin/vim/src/gui_beos.cc @@ -1892,7 +1892,7 @@ vim_unlock_screen() gui.vimWindow->Unlock(); } -#define RUN_BAPPLICATION_IN_NEW_THREAD 0 +#define RUN_BAPPLICATION_IN_NEW_THREAD 1 #if RUN_BAPPLICATION_IN_NEW_THREAD