I am working on a selection manager for SELinux. In certain copy/paste scenarios this manager pops up a dialog to confirm that the user want to paste the clipboard contents to the requestors window. The problem is that if this dialog is used the paste does work instead I get the text , in oowriter for instance, ########�####### before the user responds to the dialog which then does the SendEvent. If the dialog is not used the text is pasted without issue. This appears be a timing issue related to the delay induced by the dialog. Can someone point me at the code that processes the Edit->Paste menu item? I've looked around the code but didn't see anything that I could identify as implementing the ICCCM protocol. On Linux what toolkit does OO use, gtk?
Ted