From 5ee8b862ea0110c0ef2ba9f26fc96a4f671de715 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 8 Apr 2025 00:05:09 +0200 Subject: [PATCH] fix a keyboard focus problem in canvas window (regression) --- src/xschem.tcl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index 86b7c644..764070ec 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -8568,9 +8568,7 @@ global env has_x OS autofocus_mainwindow # Context switch. bind $parent " - # if {{%W} eq {$parent}} { - # xschem switch $topwin - # } + focus $topwin ;# propagate focus to canvas switch_window $parent $topwin %T %W "