Changeset 5480d5e in mainline for uspace/lib/display/src/display.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/display.c
r4c4d6142 r5480d5e 416 416 } 417 417 418 /** Set window cursor. 419 * 420 * Set cursor that is displayed when pointer is over the window. The default 421 * is the arrow pointer. 422 * 423 * @param window Window 424 * @param cursor Cursor to display 425 * @return EOK on success or an error code 426 */ 427 errno_t display_window_set_cursor(display_window_t *window, 428 display_stock_cursor_t cursor) 429 { 430 async_exch_t *exch; 431 errno_t rc; 432 433 exch = async_exchange_begin(window->display->sess); 434 rc = async_req_2_0(exch, DISPLAY_WINDOW_SET_CURSOR, window->id, 435 cursor); 436 async_exchange_end(exch); 437 return rc; 438 } 439 418 440 /** Get display event. 419 441 *
Note:
See TracChangeset
for help on using the changeset viewer.