--- newt-0.51.6/textbox.c.pix 2003-01-03 21:54:45.000000000 +0100 +++ newt-0.51.6/textbox.c 2005-04-26 16:33:18.336138737 +0200 @@ -96,7 +96,7 @@ co->height = height; co->top = top; co->left = left; - co->takesFocus = 0; + co->takesFocus = flags & NEWT_FLAG_SCROLL; co->width = width; tb->doWrap = flags & NEWT_FLAG_WRAP; --- newt-0.51.6/listbox.c.pix 2003-08-19 22:12:22.000000000 +0200 +++ newt-0.51.6/listbox.c 2005-04-26 16:34:20.817788173 +0200 @@ -542,7 +542,7 @@ er.result = ER_IGNORED; - if(ev.when == EV_EARLY || ev.when == EV_LATE) { + if(ev.when == EV_LATE) { return er; }