Skip to content

Instantly share code, notes, and snippets.

@owenthewizard
Created April 9, 2017 05:34
Show Gist options
  • Save owenthewizard/56b0a522732bbf5428461602d0f447ff to your computer and use it in GitHub Desktop.
Save owenthewizard/56b0a522732bbf5428461602d0f447ff to your computer and use it in GitHub Desktop.
Patch for i3-gaps to disable marking windows in invisible workspaces as urgent
diff -Naur i3.orig/src/manage.c i3/src/manage.c
--- i3.orig/src/manage.c 2017-04-09 00:17:47.132061657 -0500
+++ i3/src/manage.c 2017-04-09 00:18:35.928057642 -0500
@@ -269,9 +269,6 @@
else
nc = tree_open_con(nc->parent, cwindow);
- /* set the urgency hint on the window if the workspace is not visible */
- if (!workspace_is_visible(assigned_ws))
- urgency_hint = true;
} else if (cwindow->wm_desktop != NET_WM_DESKTOP_NONE &&
cwindow->wm_desktop != NET_WM_DESKTOP_ALL &&
(wm_desktop_ws = ewmh_get_workspace_by_index(cwindow->wm_desktop)) != NULL) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment