App Server: style fixes
80 char limit spaces => tabs fix spelling/grammar problems in comment
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user