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

	if (selmon->nmaster < 1)
		return;

	c = nexttiled(selmon->clients);

	if (c)
		focus(c);
}