On Thursday 08 September 2011 16:41:45 [email protected] wrote:
> However, as I see it the type of the event is never set; it should
> have been cm.type = ClientMessage;
> somewhere before the `XSendEvent'.

You are right, and cm.window = root_window as well.  It would also be 
prudent to call XSync before changing the error handler.

A fix is available at http://koti.welho.com/thk/sawfish.git, branch 
icccm-selection.

-- 
        Timo Korvola            <URL:http://www.iki.fi/tkorvola>

---
--
Sawfish ML

Reply via email to