Changes in / [df908b3:3249673] in mainline


Ignore:
Location:
uspace/srv/hid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/gcons.c

    rdf908b3 r3249673  
    286286        ssize_t nx = (ssize_t) mouse_x + dx;
    287287        ssize_t ny = (ssize_t) mouse_y + dy;
     288
     289        if (!use_gcons)
     290                return;
    288291       
    289292        mouse_x = (size_t) limit(nx, 0, xres);
  • uspace/srv/hid/fb/fb.c

    rdf908b3 r3249673  
    13471347{
    13481348        mouse_hide();
    1349         pointer_x = x;
    1350         pointer_y = y;
     1349        pointer_x = x % screen.xres;
     1350        pointer_y = y % screen.yres;
    13511351        mouse_show();
    13521352}
Note: See TracChangeset for help on using the changeset viewer.