removed unused focusclientmon function

This commit is contained in:
Alexander Bocken 2021-11-22 22:06:44 +01:00
parent b32e5d7b65
commit 3f7477bc1b
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

15
dwm.c
View File

@ -175,7 +175,6 @@ static void fibonacci(Monitor *mon, int s);
static void focus(Client *c); static void focus(Client *c);
static void focusin(XEvent *e); static void focusin(XEvent *e);
static void focusmon(const Arg *arg); static void focusmon(const Arg *arg);
static void focusclientmon(Monitor *msearch);
static void focusstack(const Arg *arg); static void focusstack(const Arg *arg);
static Atom getatomprop(Client *c, Atom prop); static Atom getatomprop(Client *c, Atom prop);
static int getrootptr(int *x, int *y); static int getrootptr(int *x, int *y);
@ -915,20 +914,6 @@ focusmon(const Arg *arg)
warp(selmon->sel); warp(selmon->sel);
} }
void
focusclientmon(Monitor *msearch)
{
Monitor *m;
if (!mons->next)
return;
if ((m = msearch) == selmon)
return;
unfocus(selmon->sel, 0);
selmon = m;
focus(NULL);
warp(selmon->sel);
}
void void
focusstack(const Arg *arg) focusstack(const Arg *arg)
{ {