Merge pull request #1638 from hwangcc23/fix-1489

Add a timeout: delay_exit_on_zero_displays
This commit is contained in:
Michael Stapelberg
2015-05-05 00:43:43 -07:00
9 changed files with 124 additions and 9 deletions

View File

@ -621,6 +621,8 @@ int main(int argc, char *argv[]) {
ELOG("ERROR: No screen at (%d, %d), starting on the first screen\n",
pointerreply->root_x, pointerreply->root_y);
output = get_first_output();
if (!output)
die("No usable outputs available.\n");
}
con_focus(con_descend_focused(output_get_content(output->con)));