[Tkabber-dev] r428 - trunk/plugins/urgent

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Oct 24 02:33:12 MSD 2010


Author: kostix
Date: 2010-10-24 02:33:12 +0400 (Sun, 24 Oct 2010)
New Revision: 428

Modified:
   trunk/plugins/urgent/urgent.tcl
Log:
Do not set urgency hint if Tkabber is not focused

Modified: trunk/plugins/urgent/urgent.tcl
===================================================================
--- trunk/plugins/urgent/urgent.tcl	2010-10-22 15:01:08 UTC (rev 427)
+++ trunk/plugins/urgent/urgent.tcl	2010-10-23 22:33:12 UTC (rev 428)
@@ -41,6 +41,8 @@
 
     if {!$options(enabled)} return
 
+    if {[focus -displayof [chat::winid $chatid]] != ""} return
+
     set delayed [::xmpp::delay::exists $extras]
     if {$delayed} return
 



More information about the Tkabber-dev mailing list