* Don't return B_OK from Start() if opening the device failed. Then Stop()
won't be called, the control thread will remove the device anyways. * Turned off the debug output I left on accidentally in KeyboardInputDevice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28642 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -210,7 +210,7 @@ MouseDevice::Start()
|
||||
return status;
|
||||
}
|
||||
|
||||
return B_OK;
|
||||
return fDevice >= 0 ? B_OK : B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user