Lines Matching defs:cx
103 s->cx = 0;
291 u_int cx = s->cx, cy = s->grid->hsize + s->cy;
297 __func__, sx, sy, screen_size_x(s), screen_size_y(s), s->cx, s->cy,
298 cx, cy);
315 screen_reflow(s, sx, &cx, &cy, cursor);
318 s->cx = cx;
321 s->cx = 0;
325 log_debug("%s: cursor finished at %u,%u = %u,%u", __func__, s->cx,
326 s->cy, cx, cy);
584 screen_reflow(struct screen *s, u_int new_x, u_int *cx, u_int *cy, int cursor)
589 grid_wrap_position(s->grid, *cx, *cy, &wx, &wy);
590 log_debug("%s: cursor %u,%u is %u,%u", __func__, *cx, *cy, wx,
597 grid_unwrap_position(s->grid, cx, cy, wx, wy);
598 log_debug("%s: new cursor is %u,%u", __func__, *cx, *cy);
601 *cx = 0;
623 s->saved_cx = s->cx;
652 s->cx = s->saved_cx;
660 if (s->cx > screen_size_x(s) - 1)
661 s->cx = screen_size_x(s) - 1;
682 if (s->cx > screen_size_x(s) - 1)
683 s->cx = screen_size_x(s) - 1;