5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-01-08 21:18:03 +03:00

avoid unnecessary call to spiceterm_clear_xy

This commit is contained in:
Dietmar Maurer 2013-09-17 13:47:33 +02:00
parent 8f53ae816c
commit 186d67d601
2 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ spiceterm_set_alternate_buffer(spiceTerm *vt, int on_off)
/* clear screen */
for (y = 0; y <= vt->height; y++) {
for (x = 0; x < vt->width; x++) {
spiceterm_clear_xy(vt, x, y);
// spiceterm_clear_xy(vt, x, y);
}
}

View File

@ -20,7 +20,7 @@ typedef struct TextCell {
TextAttributes attrib;
} TextCell;
#define COMMANDS_SIZE 1024
#define COMMANDS_SIZE (1024*10)
#define MAX_HEIGHT 2048
#define MAX_WIDTH 2048