summaryrefslogtreecommitdiff
path: root/patch/focusmaster.c
blob: 13a47e56b3eaaacdb9d0086517cc65c50a0d5a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void
focusmaster(const Arg *arg)
{
	Client *c;

	if (selmon->nmaster < 1)
		return;

	c = nexttiled(selmon->clients);

	if (c)
		focus(c);
}