Changeset a0d4afe in mainline for uspace/srv/hid/display/seat.h


Ignore:
Timestamp:
2023-01-18T16:51:44Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e7e226
Parents:
b0ae23f
Message:

Make sure input device configuration is destroyed together with seat

When a seat is destroyed without unassigning devices first, this causes
a dangling seat pointer that would cause the display server to crash
if the corresponding device generates an event.

File:
1 edited

Legend:

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

    rb0ae23f ra0d4afe  
    5858extern void ds_seat_set_wm_cursor(ds_seat_t *, ds_cursor_t *);
    5959extern errno_t ds_seat_paint_pointer(ds_seat_t *, gfx_rect_t *);
     60extern void ds_seat_add_idevcfg(ds_seat_t *, ds_idevcfg_t *);
     61extern void ds_seat_remove_idevcfg(ds_idevcfg_t *);
     62extern ds_idevcfg_t *ds_seat_first_idevcfg(ds_seat_t *);
     63extern ds_idevcfg_t *ds_seat_next_idevcfg(ds_idevcfg_t *);
    6064
    6165#endif
Note: See TracChangeset for help on using the changeset viewer.