summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 9ee4f3cb..3e83b850 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -68,7 +68,7 @@ static void handle_output_destroyed(wlc_handle output) {
68} 68}
69 69
70static void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) { 70static void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) {
71 sway_log(L_DEBUG, "Output %d resolution changed to %d x %d", output, to->w, to->h); 71 sway_log(L_DEBUG, "Output %u resolution changed to %d x %d", (unsigned int)output, to->w, to->h);
72 swayc_t *c = get_swayc_for_handle(output, &root_container); 72 swayc_t *c = get_swayc_for_handle(output, &root_container);
73 if (!c) return; 73 if (!c) return;
74 c->width = to->w; 74 c->width = to->w;
@@ -117,7 +117,7 @@ static bool handle_view_created(wlc_handle handle) {
117} 117}
118 118
119static void handle_view_destroyed(wlc_handle handle) { 119static void handle_view_destroyed(wlc_handle handle) {
120 sway_log(L_DEBUG, "Destroying window %d", handle); 120 sway_log(L_DEBUG, "Destroying window %u", (unsigned int)handle);
121 swayc_t *view = get_swayc_for_handle(handle, &root_container); 121 swayc_t *view = get_swayc_for_handle(handle, &root_container);
122 swayc_t *parent; 122 swayc_t *parent;
123 swayc_t *focused = get_focused_container(&root_container); 123 swayc_t *focused = get_focused_container(&root_container);