summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-04 13:23:59 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-04 13:23:59 +0200
commit9e1682c265a6a60f739b4312629bc0a6fb4b7b74 (patch)
tree9ca6bfc2a26b2a37138a1fa028f179dc4233df9b /Servers
parent7b1384c4ef3041df1b44351fb4907d6f40d95b24 (diff)
downloadserenity-9e1682c265a6a60f739b4312629bc0a6fb4b7b74.zip
WindowServer: Remove some unused debugging code.
Diffstat (limited to 'Servers')
-rw-r--r--Servers/WindowServer/WSWindowManager.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp
index 07eb848587..abd164f20f 100644
--- a/Servers/WindowServer/WSWindowManager.cpp
+++ b/Servers/WindowServer/WSWindowManager.cpp
@@ -19,7 +19,6 @@
#include "WSCursor.h"
//#define DEBUG_COUNTERS
-//#define DEBUG_WID_IN_TITLE_BAR
//#define RESIZE_DEBUG
static void get_cpu_usage(unsigned& busy, unsigned& idle);
@@ -483,16 +482,6 @@ void WSWindowManager::paint_window_frame(const WSWindow& window)
auto x_location = close_button_rect.center();
x_location.move_by(-(s_close_button_bitmap_width / 2), -(s_close_button_bitmap_height / 2));
m_back_painter->draw_bitmap(x_location, *s_close_button_bitmap, Color::Black);
-
-#ifdef DEBUG_WID_IN_TITLE_BAR
- Color metadata_color(96, 96, 96);
- m_back_painter->draw_text(
- titlebar_inner_rect,
- String::format("%d:%d", window.pid(), window.window_id()),
- TextAlignment::CenterRight,
- metadata_color
- );
-#endif
}
void WSWindowManager::add_window(WSWindow& window)