remove the urgency indicator when a window is closed
Patch status: rejected
Patch by Adrien Schildknecht
Long description:
If a window with the urgency hint was unmap, the workspace still showed the indicator
To apply this patch, use:
curl http://cr.i3wm.org/patch/18/raw.patch | git am
b/src/handlers.c
15 |
@@ -466,6 +466,13 @@ static void handle_unmap_notify_event(xcb_unmap_notify_event_t *event) { |
16 |
goto ignore_end; |
17 |
} |
18 |
|
19 |
+ /* remove the urgency hint of the worskpace (if set) */ |
20 |
+ if (con->urgent) { |
21 |
+ con->urgent = false; |
22 |
+ con_update_parents_urgency(con); |
23 |
+ workspace_update_urgent_flag(con_get_workspace(con)); |
24 |
+ } |
25 |
+ |
26 |
tree_close(con, DONT_KILL_WINDOW, false, false); |
27 |
tree_render(); |
28 |
x_push_changes(croot); |