# HG changeset patch # User Michael Pavone # Date 1485328581 28800 # Node ID 9bc78bd89567a48431c42f6981972cbd0b089ba1 # Parent 74e77aec9004903c8625dafc680486f589699ea3 Minor cleanup to handle_mouse_moved diff -r 74e77aec9004 -r 9bc78bd89567 io.c --- a/io.c Tue Jan 24 23:00:56 2017 -0800 +++ b/io.c Tue Jan 24 23:16:21 2017 -0800 @@ -476,7 +476,6 @@ if (mouse >= MAX_MICE || !mice[mouse].motion_port) { return; } - //TODO: relative mode switch(current_io->mouse_mode) { case MOUSE_ABSOLUTE: { @@ -497,6 +496,7 @@ mice[mouse].motion_port->device.mouse.cur_x += deltax; mice[mouse].motion_port->device.mouse.cur_y += deltay; } + break; } } }