2006-10-17 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Wed, 18 Oct 2006 01:39:02 +0000 (01:39 -0000)
committerChris Toshok <toshok@novell.com>
Wed, 18 Oct 2006 01:39:02 +0000 (01:39 -0000)
commit966516fa0eb02ae55a5ea2b05d1af8cf69b1bb9f
treef38000b7908f9140ff0525928fded865558c3bd1
parent6559b93a55fdd687ab1b736296648ada28ebd678
2006-10-17  Chris Toshok  <toshok@ximian.com>

* Form.cs: remove some debug spew, and collapse some duplicate
code at the end of SetClientSizeCore.

* XplatUIX11.cs:
- add some more debug spew here too wrt Destroy handling.
- don't call hwnd.Dispose in DestroyWindow, it's effectively done
in Control's handling of WM_DESTROY.
- Remove the handling of zombie window DestroyNotifies from the
event loop - we don't need it.  Now the only DestroyNotifies we
actually handle are ones generated by X.
- When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
match gtk's (functioning) handling of this. This keep metacity
from leaving droppings in the form of wm borders with no window
contents all over the place.

* Control.cs:
- add a bunch of debug spew wrt control recreation.
- fix a bug where we weren't tracking Visible properly on
recreated hwnds.
- fixed the WM_PAINT double buffer handling to support re-entrant
calls (yes, i know it's gross, but it's happening to us).

svn path=/trunk/mcs/; revision=66777
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs