fix: previous commit obscured Motion event

This commit is contained in:
stefan schippers 2025-10-10 14:36:49 +02:00
parent 44e21ad5d4
commit 11012480a0
1 changed files with 2 additions and 0 deletions

View File

@ -9553,6 +9553,8 @@ global env has_x OS autofocus_mainwindow
bind $topwin <KeyRelease> "xschem callback %W %T %x %y %N 0 0 %s"
if {$autofocus_mainwindow} {
bind $topwin <Motion> "focus $topwin; xschem callback %W %T %x %y 0 0 0 %s"
} else {
bind $topwin <Motion> "xschem callback %W %T %x %y 0 0 0 %s"
}
bind $topwin <Enter> "
if {{%W} eq {$topwin}} {