Unified · Split
| @@ -1,5 +1,8 @@ | |||
| 1 | 20100821 | ||
| 2 | correct handling of mouse focus in sub-widgets of widget windowed in canvas (soon, text widget) [issue 241] | ||
| 1 | 20100819 | 3 | 20100819 |
| 2 | failed to push Solaris/sparc/include/lib9.h with u64int change [issue 151] | 4 | failed to push Solaris/sparc/include/lib9.h with u64int change [issue 151] |
| 5 | appl/cmd/ar.b eliminate false error return | ||
| 3 | 20100810 | 6 | 20100810 |
| 4 | initial introduction of crypt-*(2) and ipints(2) | 7 | initial introduction of crypt-*(2) and ipints(2) |
| 5 | replace keyring.m in module/runt.m by ipints.m and crypt.m; compensate in libinterp and libkeyring by using keyringif.m to generate Keyring's interface | 8 | replace keyring.m in module/runt.m by ipints.m and crypt.m; compensate in libinterp and libkeyring by using keyringif.m to generate Keyring's interface |
| @@ -8,7 +8,8 @@ file such as NOTICE, LICENCE or COPYING. · 7 unmodified lines | |||
| 8 | 8 | ||
| 9 | Copyright © 1995-1999 Lucent Technologies Inc. | 9 | Copyright © 1995-1999 Lucent Technologies Inc. |
| 10 | Portions Copyright © 1997-2000 Vita Nuova Limited | 10 | Portions Copyright © 1997-2000 Vita Nuova Limited |
| 11 | Portions Copyright © 2000-2007 Vita Nuova Holdings Limited | 11 | Portions Copyright © 2000-2008 Vita Nuova Holdings Limited |
| 12 | Portions Copyright © 2010 Vita Nuova Holdings Limited | ||
| 12 | 13 | ||
| 13 | This program is free software; you can redistribute it and/or modify | 14 | This program is free software; you can redistribute it and/or modify |
| 14 | it under the terms of the GNU Lesser General Public License (`LGPL') as published by | 15 | it under the terms of the GNU Lesser General Public License (`LGPL') as published by |
| @@ -426,18 +426,14 @@ tkcvsdeliver(Tk *tk, TkCitem *i, int event, void *data) · 425 unmodified lines | |||
| 426 | if(!(event & TkKey) && (event & TkEmouse)) { | 426 | if(!(event & TkKey) && (event & TkEmouse)) { |
| 427 | ftk = tkcvsmouseinsub(w, *(TkMouse*)data); | 427 | ftk = tkcvsmouseinsub(w, *(TkMouse*)data); |
| 428 | if(ftk != w->focus) { | 428 | if(ftk != w->focus) { |
| 429 | {TkCitem *si; if(w->focus != nil && (si = tkcvsfindwin(w->focus)) != i)print("focus botch 4: i=%p si=%p\n", i, si);} | ||
| 430 | tkdeliver(w->focus, TkLeave, data); | 429 | tkdeliver(w->focus, TkLeave, data); |
| 431 | {TkCitem *si; if(ftk != nil && (si = tkcvsfindwin(ftk)) != i)print("focus botch: i=%p si=%p\n", i, si);} | ||
| 432 | if(0)print("focus %p %q %p %q\n", w->sub, tkname(w->sub), ftk, tkname(ftk)); | 430 | if(0)print("focus %p %q %p %q\n", w->sub, tkname(w->sub), ftk, tkname(ftk)); |
| 433 | tkdeliver(ftk, TkEnter, data); | 431 | tkdeliver(ftk, TkEnter, data); |
| 434 | w->focus = ftk; | 432 | w->focus = ftk; |
| 435 | } | 433 | } |
| 436 | else{TkCitem *si; if(ftk != nil && (si = tkcvsfindwin(ftk)) != i)print("focus botch 2: i=%p si=%p\n", i, si);} | ||
| 437 | if(ftk != nil) | 434 | if(ftk != nil) |
| 438 | dest = tkdeliver(ftk, event, data); | 435 | dest = tkdeliver(ftk, event, data); |
| 439 | } else { | 436 | } else { |
| 440 | {TkCitem *si; if(w->focus != nil && (si = tkcvsfindwin(w->focus)) != i)print("focus botch 3: i=%p si=%p\n", i, si);} | ||
| 441 | if(event & TkLeave) { | 437 | if(event & TkLeave) { |
| 442 | tkdeliver(w->focus, TkLeave, data); | 438 | tkdeliver(w->focus, TkLeave, data); |
| 443 | w->focus = nil; | 439 | w->focus = nil; |