hrev54134 adds 1 changeset to branch 'master'
old head: b2c7798765fe91f742aff3f8ad6e627165e156de
new head: ffd6da172485d5afab7f5307410dce003992960f
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=ffd6da172485+%5Eb2c7798765fe
----------------------------------------------------------------------------
ffd6da172485: Enable accept first click by default
Change initial setting as well.
Change-Id: I8dadde139f9c38ee7fa74ce99f0e616c42d9eb81
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2563
Reviewed-by: Sergei Reznikov <diver@xxxxxxxxxx>
Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>
[ Emir SARI <bitigchi@xxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54134
Commit: ffd6da172485d5afab7f5307410dce003992960f
URL: https://git.haiku-os.org/haiku/commit/?id=ffd6da172485
Author: Emir SARI <bitigchi@xxxxxx>
Date: Mon May 4 14:56:30 2020 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Tue May 5 00:54:47 2020 UTC
----------------------------------------------------------------------------
2 files changed, 2 insertions(+), 2 deletions(-)
src/kits/interface/InterfaceDefs.cpp | 2 +-
src/preferences/input/InputMouse.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/kits/interface/InterfaceDefs.cpp
b/src/kits/interface/InterfaceDefs.cpp
index 1e5c38c1bc..c57ea8893e 100644
--- a/src/kits/interface/InterfaceDefs.cpp
+++ b/src/kits/interface/InterfaceDefs.cpp
@@ -1109,7 +1109,7 @@ bool
accept_first_click()
{
// Gets the accept first click status
- bool acceptFirstClick = false;
+ bool acceptFirstClick = true;
BPrivate::AppServerLink link;
link.StartMessage(AS_GET_ACCEPT_FIRST_CLICK);
diff --git a/src/preferences/input/InputMouse.cpp
b/src/preferences/input/InputMouse.cpp
index ac9583a7c5..6a015e8c21 100644
--- a/src/preferences/input/InputMouse.cpp
+++ b/src/preferences/input/InputMouse.cpp
@@ -40,7 +40,7 @@ static const bigtime_t kDefaultClickSpeed = 500000;
static const int32 kDefaultMouseSpeed = 65536;
static const int32 kDefaultMouseType = 3; // 3 button mouse
static const int32 kDefaultAccelerationFactor = 65536;
-static const bool kDefaultAcceptFirstClick = false;
+static const bool kDefaultAcceptFirstClick = true;
InputMouse::InputMouse(BInputDevice* dev)