Lines Matching defs:last_x
689 int y, int last_x, int x)
695 if (!vnc_get_bit(s->dirty[y + h], last_x))
697 for (tmp_x = last_x; tmp_x < x; tmp_x++)
778 int last_x = -1;
781 if (last_x == -1) {
782 last_x = x;
786 if (last_x != -1) {
787 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x);
788 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h);
791 last_x = -1;
794 if (last_x != -1) {
795 int h = find_and_clear_dirty_height(&vs->server, y, last_x, x);
796 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h);
1276 if (vs->last_x != -1)
1277 kbd_mouse_event(x - vs->last_x,
1280 vs->last_x = x;
2071 vs->last_x = -1;