Disable RandR if no outputs are found (Thanks fallen)

This commit is contained in:
Michael Stapelberg 2010-03-19 18:51:19 +01:00
parent ee76b2ebf6
commit 3c8c426011

View File

@ -458,6 +458,11 @@ void randr_query_outputs(xcb_connection_t *conn) {
} }
} }
if (TAILQ_EMPTY(&outputs)) {
ELOG("No outputs found via RandR, disabling\n");
disable_randr(conn);
}
ewmh_update_workarea(); ewmh_update_workarea();
/* Just go through each active output and associate one workspace */ /* Just go through each active output and associate one workspace */