diff options
author | kostix <kostix@cc602e41-bd33-0410-9637-a208f32f1443> | 2009-01-24 14:35:53 +0000 |
---|---|---|
committer | kostix <kostix@cc602e41-bd33-0410-9637-a208f32f1443> | 2009-01-24 14:35:53 +0000 |
commit | 78d8cff49ad4d5da5897d330e72b8164d333ed05 (patch) | |
tree | 3736dbe43e1547c82fd7923ab08826c06327db89 /urgent.tcl | |
parent | 1c9e1b1da7a3ae2a5f76069e06bdc0d88767749a (diff) | |
download | urgent-78d8cff49ad4d5da5897d330e72b8164d333ed05.tar.gz urgent-78d8cff49ad4d5da5897d330e72b8164d333ed05.tar.xz urgent-78d8cff49ad4d5da5897d330e72b8164d333ed05.zip |
urgent/urgent.tcl: A call to [tkwait visibility] moved
to chat_winid from xclientwinid, in which it would never
return when called with tabbed interface mode active.
git-svn-id: http://svn.xmpp.ru/repos/tkabber-3rd-party/trunk/plugins/urgent@169 cc602e41-bd33-0410-9637-a208f32f1443
Diffstat (limited to 'urgent.tcl')
-rw-r--r-- | urgent.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -85,7 +85,6 @@ proc urgent::chat_message_notify {chatid from type body extras} { } proc urgent::xclientwinid {tkwin} { - tkwait visibility $tkwin ;# seems to be needed by xwininfo set data [exec xwininfo -children -id [winfo id $tkwin]] if {[regexp {Parent window id: (\S+)} $data -> id]} { return $id @@ -100,7 +99,9 @@ proc urgent::root_xwinid {xwinid _chatid} { } proc urgent::chat_xwinid {chatid} { - xclientwinid [chat::winid $chatid] + set tkwin [chat::winid $chatid] + tkwait visibility $tkwin ;# seems to be needed by xwininfo + xclientwinid $tkwin } proc urgent::record_xwinid {chatid _type} { |