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:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user