Changeset 3e7e226 in mainline for uspace/srv/hid/display/seat.c


Ignore:
Timestamp:
2023-01-18T16:59:36Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b83c5e4
Parents:
a0d4afe
Message:

Remove seat's focus when destroying it

Stop leaking foci(TM)

File:
1 edited

Legend:

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

    ra0d4afe r3e7e226  
    107107                idevcfg = ds_seat_first_idevcfg(seat);
    108108        }
     109
     110        /* Remove this seat's focus */
     111        if (seat->focus != NULL)
     112                ds_window_post_unfocus_event(seat->focus);
    109113
    110114        ds_display_remove_seat(seat);
Note: See TracChangeset for help on using the changeset viewer.