linux - Open wish without stealing focus -
i want open tcl/tk dialog on linux (kde,vnc) , put information in:
package require tk toplevel .my pack [label .my.l -text "hallo"] doing this, dialog opens , new dialog takes focus.
how can prevent this?
package require tk toplevel .my <something with> .my pack [label .my.l -text "hallo"] i saw several question regarding similar topic, none tcl/tk.
this highly dependent on window manager. metacity , marco, there setting called 'focus-new-windows' can changed 'strict'.
mate marco window manager:
gsettings set org.mate.marco.general focus-new-windows strict i don't use kde, can try: system settings -> window behaviour -> focus , see if there's setting there help.
compiz has focus prevention setting in general options -> focus.
Comments
Post a Comment