[Qt-interest] Problem: X Error: BadWindow (invalid Window parameter) 3 ...

Zeljko zeljko at holobit.net
Fri Feb 6 13:59:34 CET 2009


Denis Dzyubenko wrote:

> Do you mean you have several threads which execute widgetAt() and
> QCursor::pos() concurrently? That might lead to race conditions due to
> the fact that Qt uses single connection to the X server and doesn't do
> any synchronization for X calls.

Indeed that was problem. I've fixed that in my app.
Sorry guys for wasting your time.

z.




More information about the Qt-interest-old mailing list