From ced44b45d3590e6c2149fd83792dbf702321aff5 Mon Sep 17 00:00:00 2001 From: Kostadin Damyanov Date: Wed, 12 Aug 2015 22:14:40 +0300 Subject: Haiku: remove unneeded code --- platform/haiku/haiku_direct_window.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'platform/haiku/haiku_direct_window.cpp') diff --git a/platform/haiku/haiku_direct_window.cpp b/platform/haiku/haiku_direct_window.cpp index 2097ace497..3914ee272a 100644 --- a/platform/haiku/haiku_direct_window.cpp +++ b/platform/haiku/haiku_direct_window.cpp @@ -55,8 +55,6 @@ void HaikuDirectWindow::DirectConnected(direct_buffer_info* info) { void HaikuDirectWindow::MessageReceived(BMessage* message) { switch (message->what) { case REDRAW_MSG: - Sync(); - if (Main::iteration() == true) { view->EnableDirectMode(false); Quit(); @@ -110,8 +108,6 @@ void HaikuDirectWindow::DispatchMessage(BMessage* message, BHandler* handler) { } void HaikuDirectWindow::HandleMouseButton(BMessage* message) { - message->PrintToStream(); - BPoint where; if (message->FindPoint("where", &where) != B_OK) { return; @@ -236,7 +232,6 @@ void HaikuDirectWindow::HandleMouseWheelChanged(BMessage* message) { } void HaikuDirectWindow::HandleKeyboardEvent(BMessage* message) { - message->PrintToStream(); int32 raw_char = 0; int32 key = 0; int32 modifiers = 0; @@ -278,8 +273,6 @@ void HaikuDirectWindow::HandleKeyboardEvent(BMessage* message) { } void HaikuDirectWindow::HandleKeyboardModifierEvent(BMessage* message) { - message->PrintToStream(); - int32 old_modifiers = 0; int32 modifiers = 0; -- cgit v1.2.3