xinerama.c: fix indention
This commit is contained in:
parent
a05b185701
commit
3412e12602
|
@ -26,8 +26,8 @@ static int num_screens;
|
||||||
static Output *get_screen_at(int x, int y) {
|
static Output *get_screen_at(int x, int y) {
|
||||||
Output *output;
|
Output *output;
|
||||||
TAILQ_FOREACH(output, &outputs, outputs)
|
TAILQ_FOREACH(output, &outputs, outputs)
|
||||||
if (output->rect.x == x && output->rect.y == y)
|
if (output->rect.x == x && output->rect.y == y)
|
||||||
return output;
|
return output;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -100,10 +100,10 @@ void xinerama_init() {
|
||||||
reply = xcb_xinerama_is_active_reply(conn, xcb_xinerama_is_active(conn), NULL);
|
reply = xcb_xinerama_is_active_reply(conn, xcb_xinerama_is_active(conn), NULL);
|
||||||
|
|
||||||
if (reply == NULL || !reply->state) {
|
if (reply == NULL || !reply->state) {
|
||||||
DLOG("Xinerama is not active (in your X-Server), disabling.\n");
|
DLOG("Xinerama is not active (in your X-Server), disabling.\n");
|
||||||
disable_randr(conn);
|
disable_randr(conn);
|
||||||
} else
|
} else
|
||||||
query_screens(conn);
|
query_screens(conn);
|
||||||
|
|
||||||
FREE(reply);
|
FREE(reply);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue