Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3e7e226 in mainline


Ignore:
Timestamp:
2023-01-18T16:59:36Z (3 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
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.