This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
Re: [patch] limited /dev/clipboard support
- To: cygwin-patches at sources dot redhat dot com
- Subject: Re: [patch] limited /dev/clipboard support
- From: DJ Delorie <dj at delorie dot com>
- Date: Mon, 16 Oct 2000 21:48:44 -0400
- CC: cwilson at ece dot gatech dot edu
> 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
>
> * winsup/cygwin/fhandler_clipboard.cc: new file
> * winsup/cygwin/Makefile.in: add libuser32.a to the DLL_IMPORTS list,
> and include fhandler_clipboard.o in DLL_OFILES list.
> * winsup/cygwin/fhandler.h: add FH_CLIPBOARD to the devices enum.
> * winsup/cygwin/fhandler.h (fhandler_dev_clipboard): new
> * winsup/cygwin/path.cc (windows_device_names): add "\\dev\\clipboard"
> * winsup/cygwin/path.cc (get_device_number): check for "clipboard"
> * winsup/cygwin/winsup.h: declare a few more functions from winuser.h
> * winsup/cygwin/dtable.cc (dtable::build_fhandler): check for
> FH_CLIPBOARD in switch().
Applied, with some minor changes:
* user32 functions are autoloaded through dcrt0.cc; we don't link
libuser32.a
* files that need <winuser.h> include it themselves (and wingdi.h).
The one exception in winsup.h is because *most* cygwin files use
that one function.
* We are "Red Hat, Inc." not just "Red Hat" (they make me say that ;)
Thanks!