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