static void
move_grab_button(struct wl_pointer_grab *grab,
- uint32_t time, int32_t button, int32_t state)
+ uint32_t time, uint32_t button, int32_t state)
{
struct wl_input_device *device = grab->input_device;
static void
resize_grab_button(struct wl_pointer_grab *grab,
- uint32_t time, int32_t button, int32_t state)
+ uint32_t time, uint32_t button, int32_t state)
{
struct wl_input_device *device = grab->input_device;
static void
popup_grab_button(struct wl_pointer_grab *grab,
- uint32_t time, int32_t button, int32_t state)
+ uint32_t time, uint32_t button, int32_t state)
{
struct wl_resource *resource;
struct shell_surface *shsurf =
static void
rotate_grab_button(struct wl_pointer_grab *grab,
- uint32_t time, int32_t button, int32_t state)
+ uint32_t time, uint32_t button, int32_t state)
{
struct rotate_grab *rotate =
container_of(grab, struct rotate_grab, grab);
wm->source_data.size = current + len;
if (wm->source_data.size >= incr_chunk_size) {
if (!wm->incr) {
- fprintf(stderr, "got %d bytes, starting incr\n",
+ fprintf(stderr, "got %zu bytes, starting incr\n",
wm->source_data.size);
wm->incr = 1;
xcb_change_property(wm->conn,
wl_event_source_remove(wm->property_source);
weston_wm_send_selection_notify(wm, wm->selection_request.property);
} else if (wm->selection_property_set) {
- fprintf(stderr, "got %d bytes, waiting for "
+ fprintf(stderr, "got %zu bytes, waiting for "
"property delete\n", wm->source_data.size);
wm->flush_property_on_delete = 1;
wl_event_source_remove(wm->property_source);
} else {
- fprintf(stderr, "got %d bytes, "
+ fprintf(stderr, "got %zu bytes, "
"property deleted, seting new property\n",
wm->source_data.size);
weston_wm_flush_source_data(wm);
wm->flush_property_on_delete = 1;
if (wm->selection_property_set) {
- fprintf(stderr, "got %d bytes, waiting for "
+ fprintf(stderr, "got %zu bytes, waiting for "
"property delete\n", wm->source_data.size);
} else {
- fprintf(stderr, "got %d bytes, "
+ fprintf(stderr, "got %zu bytes, "
"property deleted, seting new property\n",
wm->source_data.size);
weston_wm_flush_source_data(wm);
wm->selection_property_set = 0;
if (wm->flush_property_on_delete) {
- fprintf(stderr, "setting new property, %d bytes\n",
+ fprintf(stderr, "setting new property, %zu bytes\n",
wm->source_data.size);
wm->flush_property_on_delete = 0;
length = weston_wm_flush_source_data(wm);