aboutsummaryrefslogtreecommitdiffstats
path: root/focusurgent.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 23:20:48 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-09 23:20:48 +0100
commit9ce88ff82962cbb971c71cf44775a05233ce1b54 (patch)
treeb470ecfdc7df8d54b47bdaa728379d9b5b36fe20 /focusurgent.c
parentRemoved wrong and useless words (diff)
downloaddwm-9ce88ff82962cbb971c71cf44775a05233ce1b54.tar.gz
dwm-9ce88ff82962cbb971c71cf44775a05233ce1b54.tar.bz2
dwm-9ce88ff82962cbb971c71cf44775a05233ce1b54.tar.xz
dwm-9ce88ff82962cbb971c71cf44775a05233ce1b54.tar.zst
dwm-9ce88ff82962cbb971c71cf44775a05233ce1b54.zip
New version, new patches
Diffstat (limited to 'focusurgent.c')
-rw-r--r--focusurgent.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/focusurgent.c b/focusurgent.c
deleted file mode 100644
index bc6eee6..0000000
--- a/focusurgent.c
+++ /dev/null
@@ -1,14 +0,0 @@
-static void
-focusurgent(const Arg *arg) {
- Client *c;
- int i;
- for(c=selmon->clients; c && !c->isurgent; c=c->next);
- if(c) {
- for(i=0; i < LENGTH(tags) && !((1 << i) & c->tags); i++);
- if(i < LENGTH(tags)) {
- const Arg a = {.ui = 1 << i};
- view(&a);
- focus(c);
- }
- }
-}