Expand `on_seat_changed` documentation

This commit is contained in:
Drakulix 2017-04-15 22:45:26 +02:00
parent 66ea275d71
commit cc6f0c9d73
1 changed files with 4 additions and 0 deletions

View File

@ -231,6 +231,10 @@ pub trait InputHandler<B: InputBackend> {
/// Called when an existing `Seat` has been destroyed. /// Called when an existing `Seat` has been destroyed.
fn on_seat_destroyed(&mut self, seat: &Seat); fn on_seat_destroyed(&mut self, seat: &Seat);
/// Called when a `Seat`'s properties have changed. /// Called when a `Seat`'s properties have changed.
///
/// ## Note:
///
/// It is not guaranteed that any change has actually happened.
fn on_seat_changed(&mut self, seat: &Seat); fn on_seat_changed(&mut self, seat: &Seat);
/// Called when a new keyboard event was received. /// Called when a new keyboard event was received.