Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: - We now track the mapping state of windows. If a window (or one of it's parents) is not mapped we no longer permit WM_PAINT messages to be generated since we'd otherwise get lots of BadMatch X errors. Jackson did all the work figuring out the problem. - Destroying the caret if the window it's contained in is destroyed. Can't use regular DestroyCaret method since it might fall into a drawing function (trying to remove the caret) and with that generate new BadMatch errors. Again, Jackson tracked this down. - Changed DestroyChildWindows to SendWMDestroyMessages, we now make sure we send the messages to all windows. (The old code would send the WM_DESTROY to the window, and then all child windows would be 'gone' because the WM_DESTROY handle lookup would no longer find the destroyed window) * Hwnd.cs: Added Mapping property to track mapping state of hwnd * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow svn path=/trunk/mcs/; revision=58866
- Loading branch information
Peter Dennis Bartok
committed
Mar 31, 2006
1 parent
9280120
commit b068dd7
Showing
4 changed files
with
140 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters