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/types/display/idevcfg.h

    rb0ae23f ra0d4afe  
    4545        struct ds_display *display;
    4646        /** Link to display->idevcfgs */
    47         link_t lidevcfgs;
     47        link_t ldispidcfgs;
     48        /** Link to seat->idevcfgs */
     49        link_t lseatidcfgs;
    4850        /** Service ID */
    4951        service_id_t svc_id;
Note: See TracChangeset for help on using the changeset viewer.