jayduhon / inferno-os

Automatically exported from code.google.com/p/inferno-os
2 stars 0 forks source link

focus handling is incorrect for windows in canvas and text #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TkCWind in canvas widgets and TkTWind in text widgets have .sub to refer to the 
widget W in the window and .focus to refer to the current mouse focus F in W. W 
has its "destroyed" set to an appropriate canvas or text function that will 
cancel the focus when W is destroyed, setting .focus to nil. all well and good. 
unfortunately, this isn't effective if F is a subwidget of W and F is discarded 
but W remains. using .focus subsequently for event delivery leads to 
unpleasantness.

Original issue reported on code.google.com by Charles....@gmail.com on 19 Aug 2010 at 3:40

GoogleCodeExporter commented 9 years ago
committed changeset 459:a3e633a4e638
pushing to https://Charles.Forsyth:***@inferno-os.googlecode.com/hg
searching for changes
1 changesets found

Original comment by Charles....@gmail.com on 22 Aug 2010 at 1:00