Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Windows: Not logging frequent WM_PAINTs (#9566)

白山風露f88f1bce20e3
diff --git a/crates/gpui/src/platform/windows/window.rs b/crates/gpui/src/platform/windows/window.rs
index 11f3795cef3..1b8e9321b89 100644
--- a/crates/gpui/src/platform/windows/window.rs
+++ b/crates/gpui/src/platform/windows/window.rs
@@ -189,7 +189,6 @@ impl WindowsWindowInner {
}
fn handle_msg(&self, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
- log::debug!("msg: {msg}, wparam: {}, lparam: {}", wparam.0, lparam.0);
let handled = match msg {
WM_ACTIVATE => self.handle_activate_msg(),
WM_CREATE => self.handle_create_msg(lparam),