Changeset 7bb45e3 in mainline for uspace/lib/display/src/disp_srv.c
- Timestamp:
- 2020-02-28T16:29:20Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 338d0935
- Parents:
- a8eed5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/src/disp_srv.c
ra8eed5f r7bb45e3 113 113 sysarg_t wnd_id; 114 114 ipc_call_t call; 115 display_wnd_ move_t wmove;115 display_wnd_resize_t wresize; 116 116 size_t size; 117 117 errno_t rc; … … 125 125 } 126 126 127 if (size != sizeof(display_wnd_ move_t)) {127 if (size != sizeof(display_wnd_resize_t)) { 128 128 async_answer_0(&call, EINVAL); 129 129 async_answer_0(icall, EINVAL); … … 131 131 } 132 132 133 rc = async_data_write_finalize(&call, &w move, size);133 rc = async_data_write_finalize(&call, &wresize, size); 134 134 if (rc != EOK) { 135 135 async_answer_0(&call, rc); … … 143 143 } 144 144 145 rc = srv->ops->window_resize(srv->arg, wnd_id, &w move.offs,146 &w move.nrect);145 rc = srv->ops->window_resize(srv->arg, wnd_id, &wresize.offs, 146 &wresize.nrect); 147 147 async_answer_0(icall, rc); 148 148 }
Note:
See TracChangeset
for help on using the changeset viewer.