[haiku-development] Re: B_ASYNCHRONOUS_CONTROLS

2008/3/6, Rene Gollent <anevilyak@xxxxxxxxx>:
> Hi,
>
> Is there any known app that still relies on the old/backward
> compatible behavior that the documentation on B_ASYNCHRONOUS_CONTROLS
> refers to? I noticed Haiku's BSlider checks for this flag on its
> parent window, and if not enabled, relies on polling the mouse in
> MouseDown() to do tracking, and uses BMouseDown/Moved/Up like normal
> otherwise. Is there a good reason to leave this behavior, or can the
> async version be used by default?

We don't even do anything different in the app_server when the
B_ASYNCHRONOUS_CONTROLS flag is not enabled. Maybe we should just
force this flag in the BWindow constructor, or remove the synchronous
implementation from all controls... but then, who knows, it could come
handy in some future time... :)

Other related posts: