- forced focus was used as a means to achieve MouseWheel handling. This method has some drawbacks for normal usage and is not necessary with the upcomming patches - the net effect is that focus on input windows (e.g. FICS) will not be lost just by moving the mouse around
Signed-off-by: Cristian Stoica <cristi...@gmail.com> --- tcl/windows.tcl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tcl/windows.tcl b/tcl/windows.tcl index e69ec1c..a2dec7e 100644 --- a/tcl/windows.tcl +++ b/tcl/windows.tcl @@ -42,16 +42,6 @@ proc createToplevel { w } { frame $f -container 1 toplevel .$name -use [ winfo id $f ] docking::add_tab $f e - - # auto focus exchange between docked windows - bind .$name <Enter> { - set atTop [lindex [wm stackorder . ] end] - if { $atTop == "." && [focus] != ""} { - set tl [winfo toplevel %W] - if {! [ ::docking::isUndocked $tl ] } { focus -force $tl } - } - } - } else { toplevel $w } -- 1.8.1.5 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users