From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19889 invoked by alias); 4 Jan 2004 00:22:56 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 19882 invoked from network); 4 Jan 2004 00:22:55 -0000 Received: from unknown (HELO central.ixn.com) (65.19.132.2) by sources.redhat.com with SMTP; 4 Jan 2004 00:22:55 -0000 Received: from msu.edu (m860e5e42.tmodns.net [66.94.14.134]) (authenticated bits=0) by central.ixn.com (8.12.10/8.12.10) with ESMTP id i040MbMN063384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 3 Jan 2004 19:22:48 -0500 (EST) Message-ID: <3FF75CCA.3030705@msu.edu> Date: Sun, 04 Jan 2004 00:22:00 -0000 From: Harold L Hunt II User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: X11 Selections References: <3FF74FFF.4000008@msu.edu> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.5 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) X-SW-Source: 2004-01/txt/msg00061.txt.bz2 List-Id: I have successfully wrapped the dix layer's SetSelectionOwner function in InitInput.c (it seems this needs to happen only once per instance of XWin.exe, not per screen), and confirmed that I can print out a message from this function. The next step is to make sure that I can retrieve the current selection contents within the X Server without a real client connection. I believe that I already had code that could do this, but I will have to look around. I have some new ideas for how to do this if I don't have old code around. After these two steps are complete I will have to make sure that our protocol for changing ownership of the Win32 and X11 clipboards will not lead to any infinite looping, then I can go about implementing some simple copying and pasting routines. Finally, I will have to adapt the xwinclip/-clipboard code that handles Unicode and MBCS strings to work with teh new system. Looks exciting. I might have something later tonight. Harold