api: add ActivationToken::{from,into}_raw
This is needed when passing and getting token from the IPC to activate the window.
This commit is contained in:
parent
927deb030f
commit
5462f27dda
7 changed files with 35 additions and 11 deletions
|
|
@ -532,7 +532,7 @@ impl EventLoop {
|
|||
Some(Ok(token)) => {
|
||||
let event = WindowEvent::ActivationTokenDone {
|
||||
serial,
|
||||
token: crate::window::ActivationToken::_new(token),
|
||||
token: crate::window::ActivationToken::from_raw(token),
|
||||
};
|
||||
app.window_event(&self.event_processor.target, window_id, event);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue