aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2020-06-04 14:33:32 +0200
committerSimon Ser <contact@emersion.fr>2020-07-27 10:49:19 +0200
commitd9bb792794ce476ac79fdc0971fc01aeb3e5c8a0 (patch)
tree21ebffd12ec70da5a2fe757b3418ba523846f042 /xwayland/selection
parent39fd2335bf47ca33e28f61ec7a194c15a9ecc61e (diff)
Fix incorrect format parameters
Diffstat (limited to 'xwayland/selection')
-rw-r--r--xwayland/selection/dnd.c4
-rw-r--r--xwayland/selection/outgoing.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/xwayland/selection/dnd.c b/xwayland/selection/dnd.c
index ec5f16c7..16941558 100644
--- a/xwayland/selection/dnd.c
+++ b/xwayland/selection/dnd.c
@@ -192,7 +192,7 @@ int xwm_handle_selection_client_message(struct wlr_xwm *xwm,
drag->source->accepted = accepted;
wlr_data_source_dnd_action(drag->source, action);
- wlr_log(WLR_DEBUG, "DND_STATUS window=%d accepted=%d action=%d",
+ wlr_log(WLR_DEBUG, "DND_STATUS window=%" PRIu32 " accepted=%d action=%d",
target_window, accepted, action);
return 1;
} else if (ev->type == xwm->atoms[DND_FINISHED]) {
@@ -226,7 +226,7 @@ int xwm_handle_selection_client_message(struct wlr_xwm *xwm,
wlr_data_source_dnd_finish(source);
}
- wlr_log(WLR_DEBUG, "DND_FINISH window=%d performed=%d action=%d",
+ wlr_log(WLR_DEBUG, "DND_FINISH window=%" PRIu32 " performed=%d action=%d",
target_window, performed, action);
return 1;
} else {
diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c
index 169f516e..002c0143 100644
--- a/xwayland/selection/outgoing.c
+++ b/xwayland/selection/outgoing.c
@@ -23,9 +23,9 @@ static void xwm_selection_send_notify(struct wlr_xwm *xwm,
.property = success ? req->property : XCB_ATOM_NONE,
};
- wlr_log(WLR_DEBUG, "SendEvent destination=%d SelectionNotify(31) time=%d "
- "requestor=%d selection=%d target=%d property=%d", req->requestor,
- req->time, req->requestor, req->selection, req->target,
+ wlr_log(WLR_DEBUG, "SendEvent destination=%" PRIu32 " SelectionNotify(31) time=%" PRIu32
+ " requestor=%" PRIu32 " selection=%" PRIu32 " target=%" PRIu32 " property=%" PRIu32,
+ req->requestor, req->time, req->requestor, req->selection, req->target,
selection_notify.property);
xcb_send_event(xwm->xcb_conn,
0, // propagate