Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1215db9 in mainline for uspace/srv/hid/display/window.c


Ignore:
Timestamp:
2021-06-26T23:30:18Z (5 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
e87415e6
Parents:
bb14312
Message:

Memory GC needs to be able to forward cursor control

File:
1 edited

Legend:

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

    rbb14312 r1215db9  
    5353static void ds_window_get_preview_rect(ds_window_t *, gfx_rect_t *);
    5454
     55static mem_gc_cb_t ds_window_mem_gc_cb = {
     56        .invalidate = ds_window_invalidate_cb,
     57        .update = ds_window_update_cb
     58};
     59
    5560/** Create window.
    5661 *
     
    108113        }
    109114
    110         rc = mem_gc_create(&params->rect, &alloc, ds_window_invalidate_cb,
    111             ds_window_update_cb, (void *)wnd, &wnd->mgc);
     115        rc = mem_gc_create(&params->rect, &alloc, &ds_window_mem_gc_cb,
     116            (void *)wnd, &wnd->mgc);
    112117        if (rc != EOK)
    113118                goto error;
Note: See TracChangeset for help on using the changeset viewer.