summaryrefslogtreecommitdiffstats
path: root/winit/src/program/window_manager.rs
diff options
context:
space:
mode:
Diffstat (limited to 'winit/src/program/window_manager.rs')
-rw-r--r--winit/src/program/window_manager.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/winit/src/program/window_manager.rs b/winit/src/program/window_manager.rs
index 4156e7c8..27306439 100644
--- a/winit/src/program/window_manager.rs
+++ b/winit/src/program/window_manager.rs
@@ -234,6 +234,8 @@ where
self.preedit = Some(overlay);
}
+ } else {
+ self.preedit = None;
}
}
}