1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 04:33:59 +01:00

Merge pull request #510 from mikkeloscar/render-output-at-launch

Render outputs as soon as wlc is ready
This commit is contained in:
Drew DeVault 2016-03-13 12:35:55 -04:00
commit 89ef36a7ba

@ -680,6 +680,13 @@ static void handle_wlc_ready(void) {
free(line);
list_del(config->cmd_queue, 0);
}
// render all outputs
int i;
for (i = 0; i < root_container.children->length; ++i) {
swayc_t *output = root_container.children->items[i];
wlc_output_schedule_render(output->handle);
}
}
struct wlc_interface interface = {