da65cb65d86c870f351e12cd567cca075a8d7650
[gentoo.git] /
1 --- newt-0.51.6/textbox.c.pix   2003-01-03 21:54:45.000000000 +0100
2 +++ newt-0.51.6/textbox.c       2005-04-26 16:33:18.336138737 +0200
3 @@ -96,7 +96,7 @@
4      co->height = height;
5      co->top = top;
6      co->left = left;
7 -    co->takesFocus = 0;
8 +    co->takesFocus = flags & NEWT_FLAG_SCROLL;
9      co->width = width;
10  
11      tb->doWrap = flags & NEWT_FLAG_WRAP;
12 --- newt-0.51.6/listbox.c.pix   2003-08-19 22:12:22.000000000 +0200
13 +++ newt-0.51.6/listbox.c       2005-04-26 16:34:20.817788173 +0200
14 @@ -542,7 +542,7 @@
15      
16      er.result = ER_IGNORED;
17  
18 -    if(ev.when == EV_EARLY || ev.when == EV_LATE) {
19 +    if(ev.when == EV_LATE) {
20         return er;
21      }
22