summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-23 20:46:10 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-23 20:46:10 +0200
commitf520d8709729da389c303920b77b6da296ce2d6a (patch)
treea8a5c119370274632d0949c7ffcd9135d74a8323
parent02e5d5583255a29dfb6193f82fb683d443e66703 (diff)
downloadserenity-f520d8709729da389c303920b77b6da296ce2d6a.zip
WindowServer: Remove debug spam about activating non-normal windows.
-rw-r--r--Servers/WindowServer/WSWindowManager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp
index 716ad2d2b7..7d3363cca2 100644
--- a/Servers/WindowServer/WSWindowManager.cpp
+++ b/Servers/WindowServer/WSWindowManager.cpp
@@ -1003,10 +1003,8 @@ void WSWindowManager::set_active_window(WSWindow* window)
if (window && window->is_blocked_by_modal_window())
return;
- if (window->type() != WSWindowType::Normal) {
- dbgprintf("WSWindowManager: Attempted to make a non-normal window active.\n");
+ if (window->type() != WSWindowType::Normal)
return;
- }
if (window == m_active_window)
return;