🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36730

inter-client communication

#36730
From: Keith M. Fernandez
Date: Mon, 12 Feb 1990 20:24
22 lines
1260 bytes
     I am having problems implementing inter-client communication using X 

properties. I have 2 X clients running wherein application 1 is trying to

receive a property supplied by application 2. Until now, properties were

hung from the root window and everything was fine. We would like to implement

an event handler so that applications can be driven by changes in properties.

The problem is this: XtAddEventHandler must be supplied a widget in which

specified events are to be trapped and we have no widget for the root 

window. Furthermore, we can't find a way of supplying 2 or more applications

with a common widget for property exchange. I've tried passing window id's

(using XtWindowToWidget on the receiving end) and widget structures through 

the root window, but have met with little success. Can anybody offer some help? 
Technical Details
Message-ID: <144@airgun.wg.waii.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!airgun!keith

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!airgun!keith
From: keith@airgun.wg.waii.com (Keith M. Fernandez)
Newsgroups: comp.windows.x
Subject: inter-client communication
Keywords: rootwindow, eventhandler, widget
Message-ID: <144@airgun.wg.waii.com>
Date: 12 Feb 90 20:24:18 GMT
Organization: Western Geophysical, Houston
Lines: 22