https://bugs.kde.org/show_bug.cgi?id=465530
--- Comment #13 from Oscar Fuentes <bugs-...@axeitado.com> ---
This is a simple reproducer that does not require Emacs.

Save this tcl script to foo.tcl:

# foo.tcl begins here
package require Tk

proc ct { new_title } {
    puts "Changing title to $new_title"
    wm title . $new_title
}

bind . <Unmap> { ct "Unmapped" }
bind . <Map> { ct "Mapped" }
# foo.tcl ends here

Run it from Konsole:

$ tclsh foo.tcl

Create this window rule for the window created by the script:

[aa2e10a2-9656-4729-b55f-b3a84332de67]
Description=Window settings for foo.tcl
clientmachine=localhost
strictgeometryrule=2
title=blah
titlematch=2
types=1
wmclass=tile-foo.tcl
wmclassmatch=1

It is important that wmclass matches, while  titlematch must be defined, but it
is not necessary that it matches.

Set focus to Konsole. Switch to another virtual desktop and back to the
original virtual desktop. Focus is now on the script's window.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to