shithub: orca

Download patch

ref: 7d624239f850bc5eb08297e8d560edd82e416740
parent: 219aa66d6d06d5396042a3beee420d04022388a4
author: cancel <cancel@cancel.fm>
date: Mon Dec 10 12:18:01 EST 2018

Cleanup

--- a/tui_main.c
+++ b/tui_main.c
@@ -1237,10 +1237,8 @@
       }
     } break;
     case KEY_MOUSE: {
-      fprintf(stderr, "mouse event\n");
       MEVENT mevent;
       if (cont_win && getmouse(&mevent) == OK) {
-        // fprintf(stderr, "mouse pressed\n");
         int win_y, win_x;
         int win_h, win_w;
         getbegyx(cont_win, win_y, win_x);
@@ -1255,8 +1253,6 @@
           inwin_x = win_w - 1;
         if (inwin_x < 0)
           inwin_x = 0;
-        // fprintf(stderr, "win: %d %d\n", win_y, win_x);
-        // fprintf(stderr, "in win: %d %d\n", inwin_y, inwin_x);
         app_mouse_event(&app_state, (Usz)inwin_y, (Usz)inwin_x, mevent.bstate);
       }
     } break;