Changeset 4912dd59 in mainline for uspace/srv/hid/display/cursor.c


Ignore:
Timestamp:
2020-05-19T10:21:12Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c4d6142
Parents:
4d8002d
git-author:
Jiri Svoboda <jiri@…> (2020-05-18 18:17:47)
git-committer:
Jiri Svoboda <jiri@…> (2020-05-19 10:21:12)
Message:

Actually fill in fake cursor unit tests (paint, get_rect)

Fixed ds_cursor_paint() to work without GC (fixes post_ptd_event_wnd_switch
test) and fixed ds_cursor_paint() to render bitmap also when called
for the first time (found by the unit test).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/cursor.c

    r4d8002d r4912dd59  
    104104
    105105        dgc = ds_display_get_gc(cursor->display); // XXX
     106        if (dgc == NULL)
     107                return EOK;
    106108
    107109        gfx_bitmap_params_init(&bparams);
     
    144146                        }
    145147                }
    146 
    147                 return EOK;
    148148        }
    149149
Note: See TracChangeset for help on using the changeset viewer.