Ignore:
Timestamp:
2020-05-22T10:38:52Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef20a91
Parents:
9242ad9
git-author:
Jiri Svoboda <jiri@…> (2020-05-21 17:38:41)
git-committer:
Jiri Svoboda <jiri@…> (2020-05-22 10:38:52)
Message:

Display server needs to override cursor when resizing windows

Although the pointer moves, the window is not resized until button
is released. Therefore we need override the cursor from what it
would be just based on where the pointer is located.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/types/display/seat.h

    r9242ad9 r9901f267  
    4848        /** Window this seat is focused on */
    4949        struct ds_window *focus;
    50         /** Current seat cursor */
    51         struct ds_cursor *cursor;
     50        /** Cursor selected by client */
     51        struct ds_cursor *client_cursor;
     52        /** Cursor override for window management or @c NULL */
     53        struct ds_cursor *wm_cursor;
    5254        /** Pointer position */
    5355        gfx_coord2_t pntpos;
Note: See TracChangeset for help on using the changeset viewer.