Acfboy commented on issue #18566: URL: https://github.com/apache/nuttx/issues/18566#issuecomment-5254818742
Hi @ghaerr, to clarify, we discussed this before. ppisa said: > try what happens when the events are wait for even during dragging. It would be ideal if the updates are called only as application really ask them (i.e. in response to timer) or when there is input (mouse, keyboard) event. I tried it on NuttX, removing `|| dragwp` from `int poll = (!canBlock || dragwp);` seems to work well. I remember your earlier concerns about this change was, on slow systems like ELKS — where a blocked select() with no ready fds won't reschedule until the time-slice expires — polling was what made dragging look natural. So given that blocking during drag works fine on NuttX, what do you think we should do now? For example, should we make it configurable so that other platforms keep the current polling behavior while NuttX blocks? Or do you see a better approach? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
