|
@@ -750,6 +750,12 @@ impl WindowBuilder for WindowBuilderWrapper {
|
|
|
");
|
|
|
}
|
|
|
|
|
|
+ #[cfg(target_os = "linux")]
|
|
|
+ {
|
|
|
+ // Mouse event is disabled on Linux since sudden event bursts could block event loop.
|
|
|
+ window.inner = window.inner.with_cursor_moved_event(false);
|
|
|
+ }
|
|
|
+
|
|
|
if let (Some(min_width), Some(min_height)) = (config.min_width, config.min_height) {
|
|
|
window = window.min_inner_size(min_width, min_height);
|
|
|
}
|