Disable RandR if no outputs are found (Thanks fallen)
This commit is contained in:
parent
ee76b2ebf6
commit
3c8c426011
@ -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();
|
||||
|
||||
/* Just go through each active output and associate one workspace */
|
||||
|
Loading…
Reference in New Issue
Block a user