Moved exit_on_close_request to window settings. This now controls whether each INDIVIDUAL window should close on CloseRequested events.
This commit is contained in:
parent
d53ccc857d
commit
83c7870c56
8 changed files with 130 additions and 85 deletions
|
|
@ -28,9 +28,6 @@ pub enum Event {
|
|||
RedrawRequested(Instant),
|
||||
|
||||
/// The user has requested for the window to close.
|
||||
///
|
||||
/// Usually, you will want to terminate the execution whenever this event
|
||||
/// occurs.
|
||||
CloseRequested,
|
||||
|
||||
/// A window was destroyed by the runtime.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue