summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig.h1
-rwxr-xr-xdwm.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index b596ee4..dc846bc 100755
--- a/config.h
+++ b/config.h
@@ -39,6 +39,7 @@ static const Rule rules[] = {
{ "qBittorrent", "qbittorrent", NULL, 0, 1, 0, 0, -1 },
{ "St", "st", NULL, 0, 0, 1, 1, -1 },
{ "stfloat", NULL, NULL, 0, 1, 1, 1, -1 },
+ { "STARTER", NULL, NULL, 0, 1, 1, 1, -1 },
{ "mpv", NULL, NULL, 0, 1, 0, 0, -1 },
{ "Nsxiv", NULL, NULL, 0, 1, 0, 0, -1 },
{ "scrcpy", NULL, NULL, 0, 1, 0, 0, -1 },
diff --git a/dwm.c b/dwm.c
index f3e7926..c65cd35 100755
--- a/dwm.c
+++ b/dwm.c
@@ -1793,6 +1793,9 @@ unmanage(Client *c, int destroyed)
arrange(m);
focus(NULL);
updateclientlist();
+ if (m == selmon && m->sel)
+ XWarpPointer(dpy, None, m->sel->win, 0, 0, 0, 0,
+ m->sel->w/2, m->sel->h/2);
}
}