Sebastian Lackner sebastian@fds-team.de writes:
Calling MsgWaitForMultipleObjects could help as a workaround for this patch, but would be a relatively large overhead: wineserver calls, listening for input events, ... - even though in windowless mode the plugin doesn't have any window, but just an hDC to draw on. The functions are called for every video frame, thats why I want to keep the overhead as small as possible.
You'll still need to check for events one way or another.
Do you think it would be better to expose those functions (X11DRV_SET_DRAWABLE, X11DRV_FLUSH_GDI_DISPLAY) somehow else?
No, not really.