|
|
Sponsor |
Re: magical callback funness: msg#00108freedesktop.xcb
> I've run into a snag with record. It there's a request/reply called > RecordGetContext. This gets the events recorded on the current > connection. When working with RECORD you use a context type. When having made one such you can: 1 Query the state ------------------- Done using the function XRecordGetContext The request "RecordGetContext" is sent after the function XRecordGetContext has been called 2 Start/stop recording ------------------- Done using the function XRecordEnableContext/XRecordDisableContext The request RecordEnableContext is sent after the function XRecordEnableContext has been called The request RecordDisableContext is sent after the function XRecordDisableContext has been called > However when calling the reply it enters a loop and prints > out how no record was found for such and such an event. Calling the reply? Can you please give some more info? Do you mean sending? Can you show me your source code? > The problem is > that I can't get out of this loop to do other things like parse the > information and what not. Where is your code located? In the client or the server? > Xlib seems to solve this problem by installing a callback (I'm not > really sure how it works though). when enabling the context > (RecordEnableContext). This is right. > I'm not sure how to solve this. Ideas, suggestions? Show the sources :) /h
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | magical callback funness, Jeremy Kolb |
|---|---|
| Next by Date: | Re: magical callback funness, Jeremy Kolb |
| Previous by Thread: | magical callback funness, Jeremy Kolb |
| Next by Thread: | Re: magical callback funness, Jeremy Kolb |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|