]> git.sur5r.net Git - i3/i3/blobdiff - src/con.c
Re-implement support for the urgency hint, extend t/13-urgent.t
[i3/i3] / src / con.c
index 411c8df6ae72cee9bdb2abc92bcc17df31e37aef..1922770819ab06652b4a825cf985e8ee643208b5 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -91,6 +91,10 @@ void con_focus(Con *con) {
         con_focus(con->parent);
 
     focused = con;
+    if (con->urgent) {
+        con->urgent = false;
+        workspace_update_urgent_flag(con_get_workspace(con));
+    }
 }
 
 /*