summaryrefslogtreecommitdiff
path: root/platform/haiku/haiku_direct_window.cpp
diff options
context:
space:
mode:
authorKostadin Damyanov <maxmight@gmail.com>2015-08-12 22:14:40 +0300
committerKostadin Damyanov <maxmight@gmail.com>2015-08-12 22:14:40 +0300
commitced44b45d3590e6c2149fd83792dbf702321aff5 (patch)
tree03c515d6955ac41c088018f6598982127888edd6 /platform/haiku/haiku_direct_window.cpp
parentf48ce8901ab4fb74dd1a2de15b75895d0cb08fd8 (diff)
Haiku: remove unneeded code
Diffstat (limited to 'platform/haiku/haiku_direct_window.cpp')
-rw-r--r--platform/haiku/haiku_direct_window.cpp7
1 files changed, 0 insertions, 7 deletions
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;