removed unused focusclientmon function
This commit is contained in:
parent
b32e5d7b65
commit
3f7477bc1b
15
dwm.c
15
dwm.c
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user