Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1720 → Rev 1721

/uspace/trunk/console/console.c
217,7 → 217,6
int i, j, rc;
keyfield_t *field;
style_t *style;
char c;
 
if (newcons == active_console)
return;
309,9 → 308,11
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 */
337,8 → 338,8
break;
}
/*FIXME: else store key to its buffer */
keybuffer_push(&conn->keybuffer, c);
retval = 0;
break;
default:
456,8 → 457,7
int main(int argc, char *argv[])
{
ipcarg_t phonehash;
int kbd_phone, fb_phone;
ipcarg_t retval, arg1 = 0xdead, arg2 = 0xbeef;
int kbd_phone;
int i;
 
async_set_client_connection(client_connection);
/uspace/trunk/console/gcons.c
69,7 → 69,6
 
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;
345,7 → 344,6
static void gcons_redraw_console(void)
{
int i;
size_t hsize = (size_t)&_binary_helenos_ppm_size;
 
if (!use_gcons)
return;