--- deliantra/dclient/src/backend/ndk/window.cpp 2010/10/19 10:05:57 1.2 +++ deliantra/dclient/src/backend/ndk/window.cpp 2010/10/20 09:21:48 1.3 @@ -5,10 +5,12 @@ * This file is covered by the GNU Library General Public License, * which should be included with libncursesxx as the file COPYING. */ -#include - #include +#include + +#include + using ndk::window; window::window () @@ -16,7 +18,7 @@ { if (!win_) throw std::runtime_error ("newwin call failed"); - keypad (win (), true); /* initialise advanced keycodes for this window */ + app->enable_keypad (win ()); } window::~window ()