Help wanted: Implementing Wine dlls that need access to X11 commands.

Robert North 7ownq0k402 at sneakemail.com
Wed Jan 15 12:09:58 CST 2003


Robert North 7ownq0k402-at-sneakemail.com |Wine Mailing Lists| wrote:
> 
>>
>>
>>>        Now, as it turns out, the methods to interrogate a wintab
>>> message queue are extremely similar to those to interrogate an X11
>>> message queue.
>>>            So that's +1 to giving wintab it's own X11 message
>>> queue. (Or possibly even one X11 msg queue per tablet context!).
>>>            A simple X11<->wintab mapping can be implemented, and no
>>> additional queue data structs are needed in the wintab
>>> implementation.
>>
>>
>>
>> I'm not convinced you can avoid managing an event queue for wintab
>> events; from a quick look at the spec I doubt you can simply map the
>> wintab functions to X11 queue functions.
> 
> 
> 
> I'm about to have a final look at this, see if there is a clear mapping 
> from X11 functions to wintab.
> 
> More on this once I've completed my investigations.
> 
> One mismatch is that wintab uses a fixed size message queue which can be 
> defined as, as opposed to Wine or X11.
> (I'm assuming wine or X11 are either extremely large queues, or 
> dynamically sized.).
> 
> 

I've re-checked the X11 code, and you're right, the only sane way to map 
X11 events to a wintab queue is by coding an event queue for wintab.

Thanks
	-Rob.




More information about the wine-devel mailing list