mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 20:29:03 +00:00
WindowServer: Reduce debug spam.
This commit is contained in:
parent
86413a6f5a
commit
f18ed4f633
Notes:
sideshowbarker
2024-07-19 14:57:20 +09:00
Author: https://github.com/awesomekling
Commit: f18ed4f633
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
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());
|
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(old_rect));
|
||||||
invalidate(outer_window_rect(new_rect));
|
invalidate(outer_window_rect(new_rect));
|
||||||
if (m_switcher.is_visible() && window.type() != WSWindowType::WindowSwitcher)
|
if (m_switcher.is_visible() && window.type() != WSWindowType::WindowSwitcher)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue