Searched refs:max_x (Results 1 – 1 of 1) sorted by relevance
205 let max_x: i32 = SCREEN_WIDTH as i32; in handle_mouse_relative_event() localVariable212 cmp::min(max_x - cursor_rect.width(), self.cursor_x.get() + event.dx), in handle_mouse_relative_event()