Changeset a6492460 in mainline for uspace/srv/hid/display/wmops.c


Ignore:
Timestamp:
2022-11-09T16:17:59Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88d828e
Parents:
54593f3
Message:

Pass ID of device that clicked the window button to activate window

To ensure the correct seat's focus is switched.

File:
1 edited

Legend:

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

    r54593f3 ra6492460  
    151151 *
    152152 * @param arg Argument (WM client)
    153  * @param seat_id Seat ID
     153 * @param dev_id Input device ID
    154154 * @param wnd_id Window ID
    155155 * @return EOK on success or an error code
    156156 */
    157 static errno_t dispwm_activate_window(void *arg, sysarg_t seat_id,
     157static errno_t dispwm_activate_window(void *arg, sysarg_t dev_id,
    158158    sysarg_t wnd_id)
    159159{
     
    172172
    173173        // TODO Multi-seat
    174         (void) seat_id;
     174        (void) dev_id;
    175175        seat = ds_display_first_seat(wnd->display);
    176176
Note: See TracChangeset for help on using the changeset viewer.