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

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


Ignore:
Timestamp:
2020-01-27T13:07:17Z (12 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
f5191b4
Parents:
01c2759
git-author:
Jiri Svoboda <jiri@…> (2020-01-26 18:07:01)
git-committer:
Jiri Svoboda <jiri@…> (2020-01-27 13:07:17)
Message:

Repaint display when window is created or destroyed

File:
1 edited

Legend:

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

    r01c2759 rcc90846  
    329329void ds_window_destroy(ds_window_t *wnd)
    330330{
     331        ds_display_t *disp;
     332
     333        disp = wnd->display;
     334
    331335        ds_client_remove_window(wnd);
    332336        ds_display_remove_window(wnd);
     337
    333338        (void) gfx_context_delete(wnd->gc);
    334339        if (wnd->bitmap != NULL)
     
    336341
    337342        free(wnd);
     343
     344        (void) ds_display_paint(disp, NULL);
    338345}
    339346
Note: See TracChangeset for help on using the changeset viewer.