Merge branch 'master' into update-winit
This commit is contained in:
commit
534c7dd7b0
93 changed files with 1642 additions and 970 deletions
|
|
@ -717,9 +717,19 @@ pub fn run_command<A, C, E>(
|
|||
)))
|
||||
.expect("Send message to event loop");
|
||||
}
|
||||
window::Action::FetchMaximized(_id, callback) => {
|
||||
proxy
|
||||
.send_event(callback(window.is_maximized()))
|
||||
.expect("Send message to event loop");
|
||||
}
|
||||
window::Action::Maximize(_id, maximized) => {
|
||||
window.set_maximized(maximized);
|
||||
}
|
||||
window::Action::FetchMinimized(_id, callback) => {
|
||||
proxy
|
||||
.send_event(callback(window.is_minimized()))
|
||||
.expect("Send message to event loop");
|
||||
}
|
||||
window::Action::Minimize(_id, minimized) => {
|
||||
window.set_minimized(minimized);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue