Lines Matching refs:last_x
695 int y, int last_x, int x) in find_and_clear_dirty_height() argument
701 if (!vnc_get_bit(s->dirty[y + h], last_x)) in find_and_clear_dirty_height()
703 for (tmp_x = last_x; tmp_x < x; tmp_x++) in find_and_clear_dirty_height()
784 int last_x = -1; in vnc_update_client() local
787 if (last_x == -1) { in vnc_update_client()
788 last_x = x; in vnc_update_client()
792 if (last_x != -1) { in vnc_update_client()
793 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x); in vnc_update_client()
794 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h); in vnc_update_client()
797 last_x = -1; in vnc_update_client()
800 if (last_x != -1) { in vnc_update_client()
801 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x); in vnc_update_client()
802 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h); in vnc_update_client()
1282 if (vs->last_x != -1) in pointer_event()
1283 kbd_mouse_event(x - vs->last_x, in pointer_event()
1286 vs->last_x = x; in pointer_event()
2077 vs->last_x = -1; in vnc_connect()