mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Unfocus input when virtual keyboard is dismissed
This commit is contained in:
parent
967a70bd60
commit
6252d36a14
11 changed files with 91 additions and 2 deletions
|
@ -663,6 +663,16 @@ where
|
|||
}
|
||||
},
|
||||
|
||||
WindowEvent::IMEDismissed => {
|
||||
let msg = ConstellationMsg::IMEDismissed;
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!(
|
||||
"Sending IMEDismissed event to constellation failed ({:?}).",
|
||||
e
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
WindowEvent::Quit => {
|
||||
self.compositor.maybe_start_shutting_down();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue