Changeset 5480d5e in mainline for uspace/lib/display/src/disp_srv.c
- Timestamp:
- 2020-05-19T21:51:11Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9242ad9
- Parents:
- 4c4d6142
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/src/disp_srv.c
r4c4d6142 r5480d5e 266 266 } 267 267 268 static void display_window_set_cursor_srv(display_srv_t *srv, ipc_call_t *icall) 269 { 270 sysarg_t wnd_id; 271 display_stock_cursor_t cursor; 272 errno_t rc; 273 274 wnd_id = ipc_get_arg1(icall); 275 cursor = ipc_get_arg2(icall); 276 277 if (srv->ops->window_set_cursor == NULL) { 278 async_answer_0(icall, ENOTSUP); 279 return; 280 } 281 282 rc = srv->ops->window_set_cursor(srv->arg, wnd_id, cursor); 283 async_answer_0(icall, rc); 284 } 285 268 286 static void display_get_event_srv(display_srv_t *srv, ipc_call_t *icall) 269 287 { … … 386 404 case DISPLAY_WINDOW_RESIZE: 387 405 display_window_resize_srv(srv, &call); 406 break; 407 case DISPLAY_WINDOW_SET_CURSOR: 408 display_window_set_cursor_srv(srv, &call); 388 409 break; 389 410 case DISPLAY_GET_EVENT:
Note:
See TracChangeset
for help on using the changeset viewer.