"redirecting" the selection request
dottedmag at gorodok.net
Sat Aug 20 08:00:43 PDT 2005
I'm trying to "redirect" the selection request coming to my
application to the another one with the following piece of code:
void selection_request_handler(XSelectionRequestEvent* e)
Where another_selection() returns XA_PRIMARY when passed XA_CLIPBOARD,
and vice versa.
The effect should be this: if my application acquired XA_PRIMARY, any
request to XA_PRIMARY should result in XA_CLIPBOARD content being sent
to the original requestor and vice versa, but... it just does not
work. Is there way to accomplish such a 'forwarding'?
I'm unsure that's the proper list to ask, so please point me to the
right one if I'm wrong.
ICQ UIN: 111575219
JID: dottedmag at jabber.fanstvo.com
More information about the xorg