Ignore:
Timestamp:
2019-11-04T14:05:35Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be15256
Parents:
22faaf2
git-author:
Jiri Svoboda <jiri@…> (2019-10-03 18:05:09)
git-committer:
Jiri Svoboda <jiri@…> (2019-11-04 14:05:35)
Message:

Window event delivery mechanism

File:
1 edited

Legend:

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

    r22faaf2 rb3c185b6  
    3232#include <str.h>
    3333
    34 #include "../display.h"
     34#include "../client.h"
    3535#include "../window.h"
    3636
     
    4242PCUT_TEST(window_get_ctx)
    4343{
    44         ds_display_t *disp;
     44        ds_client_t *client;
    4545        ds_window_t *wnd;
    4646        gfx_context_t *gc;
    4747        errno_t rc;
    4848
    49         rc = ds_display_create(NULL, &disp);
     49        rc = ds_client_create(NULL, NULL, &client);
    5050        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    5151
    52         rc = ds_window_create(disp, &wnd);
     52        rc = ds_window_create(client, &wnd);
    5353        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    5454
     
    5757
    5858        ds_window_delete(wnd);
    59         ds_display_destroy(disp);
     59        ds_client_destroy(client);
    6060}
    6161
Note: See TracChangeset for help on using the changeset viewer.