Ignore:
Timestamp:
2020-02-10T19:01:42Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b43edabe
Parents:
287688f
Message:

Propagate position event to display clients

File:
1 edited

Legend:

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

    r287688f rf7fb2b21  
    377377        w1->dpos.y = 400;
    378378
    379         PCUT_ASSERT_FALSE(called_cb);
    380 
    381379        ds_seat_set_focus(seat, w0);
    382380
     
    386384        rc = ds_display_post_ptd_event(disp, &event);
    387385        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    388         PCUT_ASSERT_FALSE(called_cb);
    389386
    390387        event.type = PTD_PRESS;
     
    392389        rc = ds_display_post_ptd_event(disp, &event);
    393390        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    394         PCUT_ASSERT_FALSE(called_cb);
    395391
    396392        PCUT_ASSERT_EQUALS(w1, seat->focus);
     
    400396        rc = ds_display_post_ptd_event(disp, &event);
    401397        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    402         PCUT_ASSERT_FALSE(called_cb);
    403398
    404399        event.type = PTD_MOVE;
     
    407402        rc = ds_display_post_ptd_event(disp, &event);
    408403        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    409         PCUT_ASSERT_FALSE(called_cb);
    410404
    411405        event.type = PTD_PRESS;
     
    413407        rc = ds_display_post_ptd_event(disp, &event);
    414408        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    415         PCUT_ASSERT_FALSE(called_cb);
    416409
    417410        PCUT_ASSERT_EQUALS(w0, seat->focus);
Note: See TracChangeset for help on using the changeset viewer.