public inbox for cygwin-xfree-announce@sourceware.org
help / color / mirror / Atom feed
From: "Harold Hunt" <huntharo@msu.edu>
To: "cygx" <cygwin-xfree@cygwin.com>,
	"cygxannounce" <cygwin-xfree-announce@cygwin.com>
Subject: [ANNOUNCEMENT] xwinclip Test 05 (Cygwin/XFree86 and Windows clipboard integration)
Date: Wed, 12 Jun 2002 10:36:00 -0000	[thread overview]
Message-ID: <NHEELHJHHFKPMAEAFMFCMEKACPAA.huntharo@msu.edu> (raw)

Links:

I just posted Test 05 to the xwinclip development page:
http://xfree86.cygwin.com/devel/xwinclip/

xwinclip binary and source code releases are available via the
sources.redhat.com ftp mirror network
(http://cygwin.com/mirrors.html) in the
pub/cygwin/xfree/devel/xwinclip/ directory.  You may wish to note the
desired filename in the links below, then download from your
closest mirror (http://cygwin.com/mirrors.html).

xwinclip binary, direct link:
http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-Test05.exe.bz2 (4 KB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20020612-1316.tar.bz2 (8
KB)


Changes:

1) xwinclip.c - Break this single source file into xwinclip.c,
textconv.c, textconv.h, wndproc.c, wndproc.h, xevents.c, and
xevents.h.  (Harold Hunt)

2) xwinclip.c - Pause and loop to retry, after a delay, if we fail
while opening the display.  (Harold Hunt)

3) xwinclip.c - Remove a call to XSelectInput that was operating on
our own window and always returning BadWindow.  Apparently the event
mask for our own window has to be changed with
XChangeWindowAttributes.  I've put a #if0'd example of using
XChangeWindowAttributes into the file.  (Harold Hunt)

4) xwinclip.c - Remove a call to XFlush.  It doesn't seem necessary
to flush any events in our queue before we start processing events.
However, I may have read somewhere that we have to do this, so I may
have to re-add this call to XFlush later.  (Harold Hunt)

5) xwinclip.c - Create an atom for WM_DELETE_WINDOW.  This will get
is an X event when a window manager is about to kill us.  However, it
does nothing for the case where the server is told to GiveUp ().
(Harold Hunt)

6) xwinclip.c - In CreateMessagingWindow, add a call to ShowWindow
passing SW_HIDE and add a call to UpdateWindow.  I'm not sure, but
these may be necessary to kick off Windows event processing.  On a
strange note - the current xwinclip doesn't process any Windows
messages.  (Harold Hunt)

7) xevents.c - Add handling for WM_DELETE_WINDOW.  (Harold Hunt)


Enjoy,

Harold


                 reply	other threads:[~2002-06-12 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NHEELHJHHFKPMAEAFMFCMEKACPAA.huntharo@msu.edu \
    --to=huntharo@msu.edu \
    --cc=cygwin-xfree-announce@cygwin.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).