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/seat.h

    rb0ae23f ra0d4afe  
    5252        /** Seat name */
    5353        char *name;
     54        /** Input device configurations mapping to this seat */
     55        list_t idevcfgs;
    5456        /** Window this seat is focused on */
    5557        struct ds_window *focus;
Note: See TracChangeset for help on using the changeset viewer.