summaryrefslogtreecommitdiff
path: root/Servers/WindowServer
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-24 04:29:33 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-24 04:29:33 +0100
commitf18ed4f633079c6b087121ddf43bf07e29af95cf (patch)
treec93aebfe2a410561efd9f056f0614587c5439a8e /Servers/WindowServer
parent86413a6f5a47593e78daaeca1d1af3def527b1d0 (diff)
downloadserenity-f18ed4f633079c6b087121ddf43bf07e29af95cf.zip
WindowServer: Reduce debug spam.
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r--Servers/WindowServer/WSWindowManager.cpp2
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)