diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-24 04:29:33 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-24 04:29:33 +0100 |
commit | f18ed4f633079c6b087121ddf43bf07e29af95cf (patch) | |
tree | c93aebfe2a410561efd9f056f0614587c5439a8e /Servers/WindowServer | |
parent | 86413a6f5a47593e78daaeca1d1af3def527b1d0 (diff) | |
download | serenity-f18ed4f633079c6b087121ddf43bf07e29af95cf.zip |
WindowServer: Reduce debug spam.
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r-- | Servers/WindowServer/WSWindowManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp index ab841f0747..3ca3da841d 100644 --- a/Servers/WindowServer/WSWindowManager.cpp +++ b/Servers/WindowServer/WSWindowManager.cpp @@ -555,7 +555,9 @@ void WSWindowManager::notify_title_changed(WSWindow& window) void WSWindowManager::notify_rect_changed(WSWindow& window, const Rect& old_rect, const Rect& new_rect) { +#ifdef RESIZE_DEBUG dbgprintf("[WM] WSWindow %p rect changed (%d,%d %dx%d) -> (%d,%d %dx%d)\n", &window, old_rect.x(), old_rect.y(), old_rect.width(), old_rect.height(), new_rect.x(), new_rect.y(), new_rect.width(), new_rect.height()); +#endif invalidate(outer_window_rect(old_rect)); invalidate(outer_window_rect(new_rect)); if (m_switcher.is_visible() && window.type() != WSWindowType::WindowSwitcher) |