Changeset 9242ad9 in mainline for uspace/srv/hid/display/seat.c


Ignore:
Timestamp:
2020-05-20T17:35:07Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9901f267
Parents:
5480d5e
Message:

Switch to double-arrow cursors when pointer is above resize areas

File:
1 edited

Legend:

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

    r5480d5e r9242ad9  
    278278        wnd = ds_display_window_by_pos(seat->display, &seat->pntpos);
    279279        if (wnd != NULL) {
     280                /* Moving over a window */
     281                seat->cursor = wnd->cursor;
     282
    280283                rc = ds_window_post_pos_event(wnd, event);
    281284                if (rc != EOK)
    282285                        return rc;
     286        } else {
     287                /* Not over a window */
     288                seat->cursor = seat->display->cursor[dcurs_arrow];
    283289        }
    284290
Note: See TracChangeset for help on using the changeset viewer.