Enable "Accept First Click" (supplementary)

The setting still fails to set "Accept First Click" by default. So
hopefully this commit fixes it once and for all.

Change-Id: Ia8d2a1fdf575a524d675fcd8692a86677c9f4e22
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2601
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Emir SARI
2020-05-07 22:05:46 +00:00
committed by waddlesplash
parent a94c4e5abf
commit 5f7045a37b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ InputMouse::MessageReceived(BMessage* message)
BHandler *handler;
if (message->FindPointer("source",
reinterpret_cast<void**>(&handler)) == B_OK) {
bool acceptFirstClick = false;
bool acceptFirstClick = true;
BCheckBox *acceptFirstClickBox =
dynamic_cast<BCheckBox*>(handler);
if (acceptFirstClickBox)
+1 -1
View File
@@ -26,7 +26,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;
MouseSettings::MouseSettings()
+1 -1
View File
@@ -23,7 +23,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;