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)
|
virtual bool MouseDown(BMessage* message, BPoint where, bool& _unhandled)
|
||||||
{
|
{
|
||||||
// We're only interested, if the secondary mouse button was pressed.
|
// We're only interested if the secondary mouse button was pressed,
|
||||||
// Othewise let the our caller handle the event.
|
// otherwise let the caller handle the event.
|
||||||
int32 buttons = message->FindInt32("buttons");
|
int32 buttons = message->FindInt32("buttons");
|
||||||
if ((buttons & B_SECONDARY_MOUSE_BUTTON) == 0) {
|
if ((buttons & B_SECONDARY_MOUSE_BUTTON) == 0) {
|
||||||
_unhandled = true;
|
_unhandled = true;
|
||||||
|
|||||||
@@ -212,7 +212,8 @@ void
|
|||||||
InputServer::_InitKeyboardMouseStates()
|
InputServer::_InitKeyboardMouseStates()
|
||||||
{
|
{
|
||||||
CALLED();
|
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.
|
// fMousePos is then set to the center of the screen.
|
||||||
|
|
||||||
fFrame = fScreen.Frame();
|
fFrame = fScreen.Frame();
|
||||||
@@ -530,8 +531,8 @@ InputServer::MessageReceived(BMessage* message)
|
|||||||
case IS_RELEASE_INPUT:
|
case IS_RELEASE_INPUT:
|
||||||
_ReleaseInput(message);
|
_ReleaseInput(message);
|
||||||
return;
|
return;
|
||||||
case IS_SCREEN_BOUNDS_UPDATED:
|
case IS_SCREEN_BOUNDS_UPDATED:
|
||||||
{
|
{
|
||||||
// This is what the R5 app_server sends us when the screen
|
// This is what the R5 app_server sends us when the screen
|
||||||
// configuration changes
|
// configuration changes
|
||||||
BRect frame;
|
BRect frame;
|
||||||
|
|||||||
Reference in New Issue
Block a user