app_server: Added NormalMouse() and ClickToFocusMouse() methods.

* Made FocusFollowsMouse() inline.
* For convenience only.
This commit is contained in:
Axel Dörfler
2013-02-08 00:59:15 +01:00
parent 5c1b6cc3d4
commit d6bb64d848
3 changed files with 20 additions and 18 deletions
+1 -15
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2005-2009, Haiku.
* Copyright 2005-2013, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -578,13 +578,6 @@ DesktopSettingsPrivate::AcceptFirstClick() const
}
bool
DesktopSettingsPrivate::FocusFollowsMouse() const
{
return MouseMode() == B_FOCUS_FOLLOWS_MOUSE;
}
void
DesktopSettingsPrivate::SetShowAllDraggers(bool show)
{
@@ -816,13 +809,6 @@ DesktopSettings::FocusFollowsMouseMode() const
}
bool
DesktopSettings::FocusFollowsMouse() const
{
return fSettings->FocusFollowsMouse();
}
bool
DesktopSettings::AcceptFirstClick() const
{