From d5b6133b934b7dd47e705c4730d182e15104ba41 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 9 Jan 2017 22:57:48 -0800 Subject: [PATCH] App Server: style fixes 80 char limit spaces => tabs fix spelling/grammar problems in comment --- src/servers/app/decorator/DefaultWindowBehaviour.cpp | 4 ++-- src/servers/input/InputServer.cpp | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/servers/app/decorator/DefaultWindowBehaviour.cpp b/src/servers/app/decorator/DefaultWindowBehaviour.cpp index 1576954943..4c6d35e3f2 100644 --- a/src/servers/app/decorator/DefaultWindowBehaviour.cpp +++ b/src/servers/app/decorator/DefaultWindowBehaviour.cpp @@ -604,8 +604,8 @@ struct DefaultWindowBehaviour::ManageWindowState : State { virtual bool MouseDown(BMessage* message, BPoint where, bool& _unhandled) { - // We're only interested, if the secondary mouse button was pressed. - // Othewise let the our caller handle the event. + // We're only interested if the secondary mouse button was pressed, + // otherwise let the caller handle the event. int32 buttons = message->FindInt32("buttons"); if ((buttons & B_SECONDARY_MOUSE_BUTTON) == 0) { _unhandled = true; diff --git a/src/servers/input/InputServer.cpp b/src/servers/input/InputServer.cpp index 9ad4c7e431..d7479df288 100644 --- a/src/servers/input/InputServer.cpp +++ b/src/servers/input/InputServer.cpp @@ -212,7 +212,8 @@ void InputServer::_InitKeyboardMouseStates() { CALLED(); - // This is where we determine the screen resolution from the app_server and find the center of the screen + // This is where we determine the screen resolution from the app_server and + // find the center of the screen // fMousePos is then set to the center of the screen. fFrame = fScreen.Frame(); @@ -530,8 +531,8 @@ InputServer::MessageReceived(BMessage* message) case IS_RELEASE_INPUT: _ReleaseInput(message); return; - case IS_SCREEN_BOUNDS_UPDATED: - { + case IS_SCREEN_BOUNDS_UPDATED: + { // This is what the R5 app_server sends us when the screen // configuration changes BRect frame;