Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1722 → Rev 1723

/uspace/trunk/console/console.c
417,7 → 417,8
arg2 = fb_info.cols;
break;
case CONSOLE_FLUSH:
async_req_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);
if (consnum == active_console)
async_req_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);
break;
case CONSOLE_SET_STYLE:
/uspace/trunk/fb/fb.c
830,7 → 830,7
 
 
static int pointer_x, pointer_y;
static int pointer_shown;
static int pointer_shown, pointer_enabled;
static int pointer_vport = -1;
static int pointer_pixmap = -1;
 
841,6 → 841,9
int color;
int bytepos;
 
if (pointer_shown || !pointer_enabled)
return;
 
/* Save image under the cursor */
if (pointer_vport == -1) {
pointer_vport = viewport_create(pointer_x, pointer_y, pointer_width, pointer_height);
1060,6 → 1063,7
if (!callid) {
cursor_blink(vport);
anims_tick();
mouse_show();
continue;
}
if (shm_handle(callid, &call, vp))
1198,6 → 1202,7
ipc_answer_fast(callid, 0, screen.xres,screen.yres);
continue;
case FB_POINTER_MOVE:
pointer_enabled = 1;
mouse_move(IPC_GET_ARG1(call), IPC_GET_ARG2(call));
retval = 0;
break;