Commit 76301d0
committed
gh-154357: Tolerate additional focus events in test_focus
All focus events seen by bindings are generated by Tk itself: one in
focus_force(), and one more when the real X focus event arrives and the
window manager had taken the focus away in between. Only the first
event, generated by focus_force(), is checked.1 parent c2748c6 commit 76301d0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
1376 | | - | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1377 | 1379 | | |
1378 | 1380 | | |
1379 | 1381 | | |
| |||
0 commit comments