take it easy when unable to contact the input_server, makes Tracker run much better in the test environment

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15427 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-12-08 22:09:22 +00:00
parent 06dd435a79
commit 1ba4d96326
+2 -2
View File
@@ -297,7 +297,7 @@ get_click_speed(bigtime_t *speed)
_control_input_server_(&command, &reply); _control_input_server_(&command, &reply);
if (reply.FindInt64("speed", speed) != B_OK) if (reply.FindInt64("speed", speed) != B_OK)
return B_ERROR; *speed = 250000;
return B_OK; return B_OK;
} }
@@ -397,7 +397,7 @@ get_key_repeat_delay(bigtime_t *delay)
_control_input_server_(&command, &reply); _control_input_server_(&command, &reply);
if (reply.FindInt64("delay", delay) != B_OK) if (reply.FindInt64("delay", delay) != B_OK)
return B_ERROR; *delay = 40000;
return B_OK; return B_OK;
} }