Browse Source

* Add dirty rectangles when moving cursor

tags/v0.99.beta17
Pascal Terjan pterjan 15 years ago
parent
commit
4bd79baf96
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      caca/string.c

+ 4
- 0
caca/string.c View File

@@ -53,6 +53,10 @@
*/
int caca_gotoxy(caca_canvas_t *cv, int x, int y)
{
/* FIXME Not needed if cursor is invisible */
caca_add_dirty_rect(cv, cv->frames[cv->frame].x, cv->frames[cv->frame].y, 1, 1);
caca_add_dirty_rect(cv, x, y, 1, 1);

cv->frames[cv->frame].x = x;
cv->frames[cv->frame].y = y;



Loading…
Cancel
Save