From 4b6ef5f586004c085c6aed3b614161f6e5ab5d3f Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 17 Apr 2023 17:53:22 +0200 Subject: Remove unnecessary fprintf statements --- swt.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'swt.c') diff --git a/swt.c b/swt.c index a6160fd..c444397 100644 --- a/swt.c +++ b/swt.c @@ -651,14 +651,12 @@ pointer_motion(void *data, struct wl_pointer *pointer, uint32_t time, wl_fixed_t client.pointer.position.y = wl_fixed_to_int(y); if (client.pointer.buttons.button & BTN_LEFT) { - fprintf(stderr, "y: %i\n", wintotty(client.pointer.position.y, height)); selextend( MIN(wintotty(client.pointer.position.x, width), win.tty.width - 1), MIN(wintotty(client.pointer.position.y, height), win.tty.height - 1), SEL_REGULAR, 0 ); - fprintf(stderr, "HERE\n"); draw(); } } @@ -674,9 +672,7 @@ pointer_button(void *data, struct wl_pointer *pointer, uint32_t serial, uint32_t if (client.pointer.buttons.click_combo == 1 && time - client.pointer.buttons.tclick <= doubleclicktimeout) { snap = SNAP_WORD; - fprintf(stderr, "double\n"); } else if (client.pointer.buttons.click_combo >= 2 && time - client.pointer.buttons.tclick <= tripleclicktimeout) { - fprintf(stderr, "tripple\n"); snap = SNAP_LINE; } else { client.pointer.buttons.click_combo = 0; @@ -692,7 +688,6 @@ pointer_button(void *data, struct wl_pointer *pointer, uint32_t serial, uint32_t snap ); draw(); - fprintf(stderr, "redraw: %i\n", snap); } else if (button == BTN_LEFT && !state) { client.pointer.buttons.button &= ~BTN_LEFT; selextend( @@ -804,7 +799,6 @@ run() if (req_redraw) { draw(); - fprintf(stderr, "redraw\n"); } } } -- cgit v1.2.3-70-g09d2