Make window_label optional (#16)

This commit is contained in:
Dmitry Malkov 2023-01-04 03:07:49 -06:00 committed by GitHub
parent 0c864ee8c2
commit 0d2dcccac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ pub struct Event<T> {
/// Event payload
pub payload: T,
/// The label of the window that emitted this event
pub window_label: String,
pub window_label: Option<String>,
}
/// Emits an event to the backend.