set focus inside topwin.drw in proc set_bindings
This commit is contained in:
parent
bd085d2e4f
commit
5ee7af7b02
|
|
@ -9012,7 +9012,10 @@ global env has_x OS autofocus_mainwindow
|
||||||
"focus ${parent}.drw; set cadgrid \[${parent}.statusbar.5 get\]; xschem set cadgrid \$cadgrid"
|
"focus ${parent}.drw; set cadgrid \[${parent}.statusbar.5 get\]; xschem set cadgrid \$cadgrid"
|
||||||
bind ${parent}.statusbar.3 <Leave> \
|
bind ${parent}.statusbar.3 <Leave> \
|
||||||
"focus ${parent}.drw; set cadsnap \[${parent}.statusbar.3 get\]; xschem set cadsnap \$cadsnap"
|
"focus ${parent}.drw; set cadsnap \[${parent}.statusbar.3 get\]; xschem set cadsnap \$cadsnap"
|
||||||
|
|
||||||
|
focus ${parent}.drw
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
## this function sets up all tk windows and binds X events. It is executed by xinit.c after completing
|
## this function sets up all tk windows and binds X events. It is executed by xinit.c after completing
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue