Add new_output_config, update root container size on output hotplug

This commit is contained in:
emersion 2017-12-06 19:45:43 +01:00
parent 41dd291612
commit 8764dc26c6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 9 additions and 6 deletions

View file

@ -93,6 +93,7 @@ swayc_t *new_output(struct sway_output *sway_output) {
sway_log(L_DEBUG, "Creating default workspace %s", ws_name);
new_workspace(output, ws_name);
free(ws_name);
update_root_geometry();
return output;
}