Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1721 → Rev 1720

/uspace/trunk/console/gcons.c
69,6 → 69,7
 
static int console_vp;
static int cstatus_vp[CONSOLE_COUNT];
static int cstat_row, cstat_col; /* Size of cstatus buttons */
static enum butstate console_state[CONSOLE_COUNT];
 
static int fbphone;
344,6 → 345,7
static void gcons_redraw_console(void)
{
int i;
size_t hsize = (size_t)&_binary_helenos_ppm_size;
 
if (!use_gcons)
return;
/uspace/trunk/console/console.c
217,6 → 217,7
int i, j, rc;
keyfield_t *field;
style_t *style;
char c;
 
if (newcons == active_console)
return;
308,11 → 309,9
newcon = gcons_mouse_btn(IPC_GET_ARG1(call));
if (newcon != -1)
change_console(newcon);
retval = 0;
break;
case KBD_MS_MOVE:
gcons_mouse_move(IPC_GET_ARG1(call), IPC_GET_ARG2(call));
retval = 0;
break;
case KBD_PUSHCHAR:
/* got key from keyboard driver */
338,8 → 337,8
break;
}
/*FIXME: else store key to its buffer */
keybuffer_push(&conn->keybuffer, c);
retval = 0;
break;
default:
457,7 → 456,8
int main(int argc, char *argv[])
{
ipcarg_t phonehash;
int kbd_phone;
int kbd_phone, fb_phone;
ipcarg_t retval, arg1 = 0xdead, arg2 = 0xbeef;
int i;
 
async_set_client_connection(client_connection);