xserver-multidpi/hw/xwin
Colin Harrison a400dbb38f Xming: Add NET_WM_ICON to native icon conversion
fd.o bugzilla #4491
originally from a patch by Joe Krahn <jkrahn@nc.rr.com>

Convert a NET_WM_ICON to a native icon by converting to a native
bitmap and then using CreateIconIndirect()

Don't use icon alpha on Windows 2000 or if display isn't 32-bit, convert
alpha channel to a 1-bit transparency mask using a threshold value

Fix warning in winScaleXBitmapToWindows() about signedness of *iconData

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-08-12 17:56:06 +01:00
..
glx Cygwin/X: Remove obsolete ChangeLog files 2009-06-05 19:29:02 +01:00
xlaunch Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
_usr_X11R6_lib_X11_system.XWinrc Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
ddraw.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
InitInput.c Cygwin/X: Add a needed inputstr.h 2009-06-10 13:13:49 +01:00
InitOutput.c Cygwin/X: Remove an obsolete mention of xf86Config 2009-06-23 21:02:38 +01:00
Makefile.am Cygwin/X: Fix multiwindow extwm mode to build again 2009-06-29 18:00:03 +01:00
README Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
win.h Cygwin/X: Remove unused TimeSinceLastInputEvent() 2009-05-27 14:14:10 +01:00
winallpriv.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winauth.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winblock.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winclip.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winclipboard.h Cygwin/X: Tidy up a bodge to avoid collision between X header and native Win32 API definitions of ATOM 2009-06-05 19:22:16 +01:00
winclipboardinit.c Xming: Use RegisterClassEx() instead of superseded RegisterClass() 2009-07-29 17:05:17 +01:00
winclipboardtextconv.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winclipboardthread.c Cygwin/X: Tidy up a bodge to avoid collision between X header and native Win32 API definitions of ATOM 2009-06-05 19:22:16 +01:00
winclipboardunicode.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winclipboardwndproc.c Cygwin/X: more warnings fixes 2009-06-23 21:02:48 +01:00
winclipboardwrappers.c Xming: Simplify logic for ownership release of native clipboard 2009-06-10 14:00:43 +01:00
winclipboardxevents.c Xming: Various tidy ups in winClipboardFlushXEvents() 2009-05-27 14:12:51 +01:00
wincmap.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winconfig.c cygwin/X: Remove an unused variable to fix a warning 2009-02-12 12:04:32 +00:00
winconfig.h Cygwin/X: Fix compilation for mandatory XKB 2009-02-02 17:51:50 +00:00
wincreatewnd.c Xming: Use RegisterClassEx() instead of superseded RegisterClass() 2009-07-29 17:05:17 +01:00
wincursor.c xwin: switch to byte counting functions 2009-07-14 10:14:01 +10:00
windialogs.c Cygwin/X: use GWLP_WNDPROC, GWLP_USERDATA with Get/SetWindowLongPtr 2009-07-28 15:17:47 +01:00
winengine.c Cygwin/X: Fix -Wold-style-definition warnings 2009-02-12 12:03:55 +00:00
winerror.c Cygwin/X: build machinery fixes 2008-12-16 16:28:01 +00:00
winfillsp.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winfont.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
wingc.c Death to mfb. 2008-06-13 10:51:18 -04:00
wingetsp.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winglobals.c Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
winkeybd.c Cygwin/X: Fix -Wold-style-definition warnings 2009-02-12 12:03:55 +00:00
winkeybd.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winkeyhook.c Cygwin/X: Fix -Wold-style-definition warnings 2009-02-12 12:03:55 +00:00
winkeymap.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winkeynames.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winlayouts.h Cygwin/X: add hebrew to autodetected keyboard layouts 2009-06-23 21:07:03 +01:00
winmessages.h Unifdef ISC 2008-10-02 17:03:54 -04:00
winmisc.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winmouse.c Cygwin/X: Fix permuted args to InitPointerDeviceStruct() 2009-06-17 14:22:35 +01:00
winms.h Xming: Add NET_WM_ICON to native icon conversion 2009-08-12 17:56:06 +01:00
winmsg.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winmsg.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winmultiwindowclass.c Xming, Cygwin/X: Fix crash in function winMultiWindowGetTransientFor() (#11147) 2008-12-18 12:37:14 +00:00
winmultiwindowclass.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winmultiwindowicons.c Xming: Add NET_WM_ICON to native icon conversion 2009-08-12 17:56:06 +01:00
winmultiwindowshape.c Xming, Cygwin/X: Tidy up warnings, headers and unused variables (#11132) 2008-12-18 12:37:15 +00:00
winmultiwindowwindow.c Cygwin/X: Update Get/SetWindowLong() to Get/SetWindowLongPtr() everywhere 2009-07-26 15:15:37 +01:00
winmultiwindowwm.c Cygwin/X: Window positioning improvements for multiwindow mode 2009-07-07 15:03:43 +01:00
winmultiwindowwndproc.c Xming: Apply window style hints in -multiwindow mode 2009-07-03 11:19:38 +01:00
winnativegdi.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winpfbdd.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winpixmap.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winpolyline.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winprefs.c Cygwin/X: Update Get/SetWindowLong() to Get/SetWindowLongPtr() everywhere 2009-07-26 15:15:37 +01:00
winprefs.h Cygwin/X: Fix several prototypes to return HICON 2009-02-12 12:04:17 +00:00
winprefslex.l Cygwin/X: Fix -Wold-style-definition warnings 2009-02-12 12:03:55 +00:00
winprefsyacc.y Xming: Add styles keyword and attributes. 2009-01-19 14:49:44 +00:00
winpriv.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winpriv.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winprocarg.c Xming: Slightly adjust the formatting of the logged command line 2009-05-27 14:11:00 +01:00
winrandr.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winregistry.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winresource.h Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winrop.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winscrinit.c Cygwin/X: Fix multiwindow extwm mode to build again 2009-06-29 18:00:03 +01:00
winsetsp.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winshaddd.c Cygwin/X: more warnings fixes 2009-06-23 21:02:48 +01:00
winshadddnl.c Xming,Cygwin/X: Fix crashes when using the DirectDraw '-refresh rate-in-Hz' option in -fullscreen (#11128) 2008-12-18 12:37:15 +00:00
winshadgdi.c Cygwin/X: update for changes to shadow framebuffer 2008-12-17 13:37:38 +00:00
wintrayicon.c Cygwin/X: Fix several prototypes to return HICON 2009-02-12 12:04:17 +00:00
winvalargs.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winvideo.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winwakeup.c Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
winwin32rootless.c Xming: Use GetClassLongPtr() instead of superseded GetClassLong() 2009-07-29 17:05:15 +01:00
winwin32rootlesswindow.c Cygwin/X: Update icons directly, rather than modifying the window's class 2009-05-27 14:14:32 +01:00
winwin32rootlesswndproc.c Cygwin/X: Avoid a visual glitch on window move in rootless modes 2009-06-29 17:54:40 +01:00
winwindow.c Xming, Cygwin/X: Tidy up warnings, headers and unused variables (#11132) 2008-12-18 12:37:15 +00:00
winwindow.h Xming: Apply window style hints in -multiwindow mode 2009-07-03 11:19:38 +01:00
winwindowswm.c Cygwin/X: Fix multiwindow extwm mode to build again 2009-06-29 18:00:03 +01:00
winwndproc.c Cygwin/X: Place prototypes for winCheckKeyPressed() and winFixShiftKeys() in a header file 2009-02-12 12:05:13 +00:00
X-boxed.ico Revert "Removed XWin DDX" 2008-04-20 08:35:42 -07:00
X.ico Cygwin/X: Update the native icon to one based on the X.Org logo 2008-12-15 12:42:10 +00:00
XWin.man.pre Cygwin/X: Man page fixes 2009-06-29 17:54:33 +01:00
XWin.rc Xming: Update .rc file to tidy About and Exit dialogs 2009-01-19 14:50:37 +00:00
XWinrc.man.pre Cygwin/X: Man page fixes 2009-06-29 17:54:33 +01:00

Cygwin/X Release Notes
======================

Release X11R6.7
===============

Cygwin/X has continued its rapid pace of development that it has sustained
since Spring 2001 and this release shows it, we now have: a stable and fast
multi-window mode, seamless clipboard integration, a configurable tray menu
icon, popups on error messages pointing users to the log file and our mailing
list, the beginnings of indirect 3D acceleration for OpenGL applications,
improved non-US keyboard and clipboard support, and only a handful of bugs
that continue to be reported.

Between the XFree86 4.3.0 release and the X.Org X11R6.7 release the Cyg-
win/XFree86 project broke away from The XFree86 Project, Inc. due to a lack
of support from the XFree86 project.  As such, the Cygwin/XFree86 project was
renamed to the Cygwin/X project and the upstream source code tree that Cyg-
win/X pulls from and pushes to is now the tree managed by the X.Org Founda-
tion.  The Cygwin/X project has seen a rush of development and interest in
the project since the split; one metric showing this is that the number of
CVS committers we have has gone from zero to six.

The most outstanding features of this release are

   o Major multi-window mode improvements. (Takuma Murakami, Earle F. 
     Philhower III)

   o Initial work of accelerated OpenGL using the windows OpenGL drivers. 
     (Alexander Gottwald)

   o Massive rework of clipboard integration with windows. (Harold L Hunt II,
     Kensuke Matsuzaki)

   o Improved Japanese clipboard and keyboard support. (Kensuke Matsuzaki,
     Takuma Murakami, Alexander Gottwald)

   o Customizable tray menu icon allowing shortcuts to start programs,
     etc.(Earle F. Philhower III)

   o New icons. (Jehan Bing, Michael Bax, Benjamin Rienfenstahl)

   o Fix some multi-monitor problems.(Takuma Murakami)

   o Fix repeated key strokes. (Ivan Pascal)

   o Automatic keyboard layouts for the most frequently used keyboard lay-
     outs. (Alexander Gottwald)

   o Built in SHM support with detection of the SHM engine (cygserver).
     (Ralf Habacker, Harold L Hunt II)

   o Merged in work on the NativeGDI engine. (Alan Hourihane)

OpenGL with Cygwin/X
====================

Cygwin/X has supported GLX only with software rendering provided by the Mesa
library. Starting with X11R6.7 we add support for hardware accelerated OpenGL.

This support is still under development and still has some bigger problems. 
To provide both versions (the stable software rendering and the new hardware
accelerated) we ship to binaries. XWin.exe contains the software rendering 
and XWin_GL.exe uses the hardware acceleration provided by the windows drivers.

The known problems with hardware accelerated OpenGL are:

   o Only multiwindow mode is useful. In the other modes the OpenGL output 
     does not align with the X11 windows.

   o Using two programs which require different visuals will fail. For example
     glxgears and glxinfo will not work without restarting XWin_GL.exe.

   o OpenGL extensions and functions from OpenGL 1.2 and later should work 
     but are not completely tested.

   o The standard Windows OpenGL driver will produce no output. Use the one 
     from your video adapter vendor.  

If you notice problems with some programs please send a message with the 
logfile /tmp/XWin.log and a short error description to <cygwin-xfree@cygwin.com>

The hardware accelerated OpenGL was tested using: 

   o glxgears
   o glxinfo
   o blender
   o tuxkart
   o GLUT demos (some did fail)
   o tuxracer (currently not working)

    
Release X11R6.8
===============

Having reached a quite mature state in release X11R6.7 the development 
has slowed down a little bit. Some of the former active developers have
retired or cut their work for the Cygwin/X project due to conflicts with 
job, study and family. 

The X11R6.8 release now includes major improvements from the xserver project.
This includes the XFixes, Damage, Composite and XEVIE extension which is a 
major step towards allowing Cygwin/X to have real transparency. 

But at the current state Composite is not working with Cygwin/X. Not all code
in the Cygwin/X Server has been updated to support the Composite feature and
using it will even crash the xserver. But as a second problem nearly all
functions required for compositing are lacking acceleration in Cygwin/X so
the feature would not be very useful if it would work. So it is disabled by
default. 

OpenGL with Cygwin/X
====================

The OpenGL support has lost some of it's limitations from the last release 
and should be much more stable. But due to missing wide spread testing in 
the community it is still available in a separate program. XWin still uses 
the old software OpenGL which is known to be stable.

The known problems with hardware accelerated OpenGL are:

   o Only multiwindow mode is useful. In the other modes the OpenGL output 
     does not align with the X11 windows.

   o OpenGL extensions and functions from OpenGL 1.2 and later should work 
     but are not completely tested.

   o The standard Windows OpenGL driver will produce no output. Use the one 
     from your video adapter vendor.  

If you notice problems with some programs please send a message with the 
logfile /tmp/XWin.log and a short error description to <cygwin-xfree@cygwin.com>

The hardware accelerated OpenGL was tested using: 

   o glxgears
   o glxinfo
   o blender
   o tuxkart
   o GLUT demos (some did fail)