Is there anyone familiar with RECORD extension?
I encounter a problem make me sick.
During the XRecordInterceptProc, I intercepted a request
X_ImageText8.
To get the background the string has occupied, I need to use
XQueryTextExtents (or XTextExtens and XQueryFont) to get the width and
heigt. But, if I did so, the XQueryTextExtents seems no return and
blocked. However, I click the mouse or did any other operation, related
request would be intercepted. This puzzled me much.
BTW, I have tried to stop RECORD before I use
XQueryTextExtents and start after it, which still help nothing.
Any one could tell me how to solve it?
Thanks in advance.
|