fix a keyboard focus problem in canvas window (regression)

This commit is contained in:
stefan schippers 2025-04-08 00:05:09 +02:00
parent 514b5be2c2
commit 5ee8b862ea
1 changed files with 1 additions and 3 deletions

View File

@ -8568,9 +8568,7 @@ global env has_x OS autofocus_mainwindow
# Context switch.
bind $parent <FocusIn> "
# if {{%W} eq {$parent}} {
# xschem switch $topwin
# }
focus $topwin ;# propagate focus to canvas
switch_window $parent $topwin %T %W
"