xinerama.c: fix indention

This commit is contained in:
Michael Stapelberg 2010-11-29 22:35:46 +01:00
parent a05b185701
commit 3412e12602
1 changed files with 5 additions and 5 deletions

View File

@ -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);
} }