Changeset 3434233 in mainline for uspace/srv/hid/display/test/seat.c
- Timestamp:
- 2019-12-16T10:14:12Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 65160d7
- Parents:
- fdc8e40
- git-author:
- Jiri Svoboda <jiri@…> (2019-12-15 10:13:47)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-12-16 10:14:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/test/seat.c
rfdc8e40 r3434233 27 27 */ 28 28 29 #include <disp_srv.h> 29 30 #include <errno.h> 30 31 #include <pcut/pcut.h> … … 62 63 ds_seat_t *seat; 63 64 ds_window_t *wnd; 65 display_wnd_params_t params; 64 66 errno_t rc; 65 67 … … 73 75 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 74 76 75 rc = ds_window_create(client, &wnd); 77 display_wnd_params_init(¶ms); 78 params.rect.p0.x = params.rect.p0.y = 0; 79 params.rect.p1.x = params.rect.p1.y = 1; 80 81 rc = ds_window_create(client, ¶ms, &wnd); 76 82 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 77 83 … … 93 99 ds_window_t *w0; 94 100 ds_window_t *w1; 101 display_wnd_params_t params; 95 102 errno_t rc; 96 103 … … 104 111 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 105 112 106 rc = ds_window_create(client, &w1); 113 display_wnd_params_init(¶ms); 114 params.rect.p0.x = params.rect.p0.y = 0; 115 params.rect.p1.x = params.rect.p1.y = 1; 116 117 rc = ds_window_create(client, ¶ms, &w1); 107 118 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 108 119 109 rc = ds_window_create(client, & w0);120 rc = ds_window_create(client, ¶ms, &w0); 110 121 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 111 122
Note:
See TracChangeset
for help on using the changeset viewer.