Changeset 5b8b66c in mainline


Ignore:
Timestamp:
2010-08-29T19:39:55Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3249673
Parents:
ecd2775
Message:

fb should be robust wrt. bogus mouse coordinates passed from console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/fb.c

    recd2775 r5b8b66c  
    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.