mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +01:00
Log output name when added to tree
This commit is contained in:
parent
19c0ec6a08
commit
4a5828370c
1 changed files with 1 additions and 1 deletions
|
@ -43,9 +43,9 @@ static void add_output_widths(swayc_t *container, void *_width) {
|
|||
}
|
||||
|
||||
swayc_t *new_output(wlc_handle handle) {
|
||||
sway_log(L_DEBUG, "Added output %d", handle);
|
||||
const struct wlc_size* size = wlc_output_get_resolution(handle);
|
||||
const char *name = wlc_output_get_name(handle);
|
||||
sway_log(L_DEBUG, "Added output %d %s", handle, name);
|
||||
|
||||
swayc_t *output = new_swayc(C_OUTPUT);
|
||||
output->width = size->w;
|
||||
|
|
Loading…
Reference in a new issue