summaryrefslogtreecommitdiffstats
path: root/src/wth-receiver-seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wth-receiver-seat.c')
-rw-r--r--src/wth-receiver-seat.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/wth-receiver-seat.c b/src/wth-receiver-seat.c
index f4b4886..f137e01 100644
--- a/src/wth-receiver-seat.c
+++ b/src/wth-receiver-seat.c
@@ -35,9 +35,9 @@ waltham_touch_down(struct window *window, uint32_t serial,
uint32_t time, int32_t id,
wl_fixed_t x_w, wl_fixed_t y_w)
{
- struct surface *surface = window->receiver_surf;
struct seat *seat = window->receiver_seat;
struct touch *touch = seat->touch;
+ struct surface *surface = window->receiver_surf;
if (!touch) {
fprintf(stderr, "We do not have touch device!\n");
@@ -45,7 +45,6 @@ waltham_touch_down(struct window *window, uint32_t serial,
}
if (touch->obj) {
- fprintf(stdout, "waltham_touch_down() sending touch_down\n");
wthp_touch_send_down(touch->obj, serial, time, surface->obj, id, x_w, y_w);
}
return;
@@ -64,7 +63,6 @@ waltham_touch_up(struct window *window, uint32_t serial,
}
if (touch->obj) {
- fprintf(stdout, "waltham_touch_motion() sending touch_up\n");
wthp_touch_send_up(touch->obj, serial, time, id);
}
return;
@@ -83,7 +81,6 @@ waltham_touch_motion(struct window *window, uint32_t time,
}
if (touch->obj) {
- fprintf(stdout, "waltham_touch_motion() sending touch_motion\n");
wthp_touch_send_motion(touch->obj, time, id, x_w, y_w);
}
}
@@ -100,7 +97,6 @@ waltham_touch_frame(struct window *window)
}
if (touch->obj) {
- fprintf(stdout, "waltham_touch_frame() sending frame\n");
wthp_touch_send_frame(touch->obj);
}
}
@@ -353,9 +349,6 @@ client_bind_seat(struct client *c, struct wthp_seat *obj)
seat->client = c;
wl_list_insert(&c->seat_list, &seat->link);
- fprintf(stdout, "wthp_seat object=%p and seat=%p\n",obj,seat);
wthp_seat_set_interface(obj, &seat_implementation, seat);
-
- fprintf(stdout, "client %p bound wthp_seat\n", c);
seat_send_updated_caps(seat);
}