[comp.windows.x] Summary of patches 71-80

david@geac.UUCP (12/04/87)

Here is the summary of patches (fixes) 71-80.

-david-

------------------------------------------------------------
Patch #80 done. Fixed demos/wm/test.c, demos/wm/test.h, demos/wm/mkPixmap.c

- wm needs to handle window hint properties. It now does something with most
  of them.
- wm & TRANSIENT_FOR hint & override-redirect. It now refuses to decorate
  menus,  etc.
- wm & defaults. It now looks in .Xdefaults for colors, fonts, etc.
- wm should install colormaps for clients. It now makes sure the client under
  the mouse has its colormap installed.
- wm should not unmap child windows during resize. It doesn't any more.
- wm should reset the input focus. If a client messes with the input focus,
  wm will set it back.

Changes courtesy of Dave Rosenthal of Sun.
------------------------------------------------------------
Patch #79 done. Fixed server/dix/window.c, server/dix/colormap.c

root background creation has bit order and padding assumptions
ChangeWindowAttributes wasn't range checking values
colormap CopyFromParent isn't dynamic (changed during beta)
only generate ColormapNotify on real change
ReparentWindow using BadWindow instead of BadMatch
ReparentWindow not checking for same screen
missing lots of client->errorValue sets
various nits and nots
------------------------------------------------------------
Patch #78 done. Fixed demos/wm/test.c

wm didn't always call QueryPointer after a MotionNotify (with NotifyHint)
resulting in a loss of action.
------------------------------------------------------------
Patch #77 done. Fixed server/dix/events.c

Enter/Leave/Focus events were not always generated when they should have been.
Enter/Leave events were sometimes generated when they shouldn't have been.
------------------------------------------------------------
Patch #76 done. Fixed lib/X/XOpenDis.c

The Xlib manual says the DefaultGC created for each screen has BlackPixel
as the foreground and WhitePixel for the background.
------------------------------------------------------------
Patch #75 done. Fixed server/dix/events.c

A GrabPointer without a confine-to doesn't undo a previous confine-to.
------------------------------------------------------------
Patch #74 done. Changed server/dix/main.c, server/dix/extension.c,
server/dix/events.c

When xinit kills the server via a signal, GiveUp() typically
ends up being called in the middle of the normal recycling
code, with the result that various things get closed/freed
twice.

Not a "complete" fix, but good enough for now.
------------------------------------------------------------
Patch #73 done. Fixed server/dix/events.c

GrabPointer used the wrong window for confine-to
------------------------------------------------------------
Patch #72 done.  Fixed server/dix/events.c

make PointerMotionHint work more reasonably
fix up some single-screen bogosity
send KeymapNotify on Enter window
uninitialized variable in EventMaskForClient
various little nits
------------------------------------------------------------
Patch #71 done. Changed server/dix/window.c

Leak reported in fix #62 was not correct. DeleteWindow was fine.
-- 
David Haynes
Geac Computers International Inc. 
UUCP:	{mnetor|yetti|utgpu}!geac!david