diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sway/container.c b/sway/container.c index a4b2d1c2..95a46632 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -80,13 +80,13 @@ swayc_t *new_output(wlc_handle handle) { | |||
80 | swayc_t *op = root_container.children->items[i]; | 80 | swayc_t *op = root_container.children->items[i]; |
81 | const char *op_name = op->name; | 81 | const char *op_name = op->name; |
82 | if (op_name && name && strcmp(op_name, name) == 0) { | 82 | if (op_name && name && strcmp(op_name, name) == 0) { |
83 | sway_log(L_DEBUG, "restoring output %lu:%s", handle, op_name); | 83 | sway_log(L_DEBUG, "restoring output %" PRIuPTR ":%s", handle, op_name); |
84 | return op; | 84 | return op; |
85 | } | 85 | } |
86 | } | 86 | } |
87 | } | 87 | } |
88 | 88 | ||
89 | sway_log(L_DEBUG, "New output %lu:%s", handle, name); | 89 | sway_log(L_DEBUG, "New output %" PRIuPTR ":%s", handle, name); |
90 | 90 | ||
91 | struct output_config *oc = NULL, *all = NULL; | 91 | struct output_config *oc = NULL, *all = NULL; |
92 | int i; | 92 | int i; |
@@ -254,7 +254,7 @@ swayc_t *new_view(swayc_t *sibling, wlc_handle handle) { | |||
254 | } | 254 | } |
255 | const char *title = wlc_view_get_title(handle); | 255 | const char *title = wlc_view_get_title(handle); |
256 | swayc_t *view = new_swayc(C_VIEW); | 256 | swayc_t *view = new_swayc(C_VIEW); |
257 | sway_log(L_DEBUG, "Adding new view %lu:%s to container %p %d", | 257 | sway_log(L_DEBUG, "Adding new view %" PRIuPTR ":%s to container %p %d", |
258 | handle, title, sibling, sibling ? sibling->type : 0); | 258 | handle, title, sibling, sibling ? sibling->type : 0); |
259 | // Setup values | 259 | // Setup values |
260 | view->handle = handle; | 260 | view->handle = handle; |
@@ -292,7 +292,7 @@ swayc_t *new_floating_view(wlc_handle handle) { | |||
292 | } | 292 | } |
293 | const char *title = wlc_view_get_title(handle); | 293 | const char *title = wlc_view_get_title(handle); |
294 | swayc_t *view = new_swayc(C_VIEW); | 294 | swayc_t *view = new_swayc(C_VIEW); |
295 | sway_log(L_DEBUG, "Adding new view %lu:%x:%s as a floating view", | 295 | sway_log(L_DEBUG, "Adding new view %" PRIuPTR ":%x:%s as a floating view", |
296 | handle, wlc_view_get_type(handle), title); | 296 | handle, wlc_view_get_type(handle), title); |
297 | // Setup values | 297 | // Setup values |
298 | view->handle = handle; | 298 | view->handle = handle; |
@@ -354,7 +354,7 @@ swayc_t *destroy_output(swayc_t *output) { | |||
354 | arrange_windows(root_container.children->items[p], -1, -1); | 354 | arrange_windows(root_container.children->items[p], -1, -1); |
355 | } | 355 | } |
356 | } | 356 | } |
357 | sway_log(L_DEBUG, "OUTPUT: Destroying output '%lu'", output->handle); | 357 | sway_log(L_DEBUG, "OUTPUT: Destroying output '%" PRIuPTR "'", output->handle); |
358 | free_swayc(output); | 358 | free_swayc(output); |
359 | return &root_container; | 359 | return &root_container; |
360 | } | 360 | } |