fix warning message on nonblocking redraw

This commit is contained in:
bunnie 2022-06-22 18:11:23 +08:00
parent f7f2868802
commit f041dfb9b4

View file

@ -532,7 +532,8 @@ fn wrapped_main() -> ! {
},
Some(Opcode::RevertFocusNb) => {
match context_mgr.revert_focus(&gfx, &mut canvases) {
_ => log::warn!("failed to revert focus, silent error!"),
Ok(_) => {},
Err(e) => log::warn!("failed to revert focus: {:?}", e),
}
},
Some(Opcode::QueryGlyphProps) => msg_blocking_scalar_unpack!(msg, style, _, _, _, {