diff --git a/src/xschem.tcl b/src/xschem.tcl index 19fa1857..369c5834 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -9553,6 +9553,8 @@ global env has_x OS autofocus_mainwindow bind $topwin "xschem callback %W %T %x %y %N 0 0 %s" if {$autofocus_mainwindow} { bind $topwin "focus $topwin; xschem callback %W %T %x %y 0 0 0 %s" + } else { + bind $topwin "xschem callback %W %T %x %y 0 0 0 %s" } bind $topwin " if {{%W} eq {$topwin}} {