+2009-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * XplatUIX11.cs: Don't send a WM_SHOWWINDOW message when receiving
+ MapNotify/UnmapNotify events - we are already firing those events in
+ the proper places, so we avoid this way to send the same message two
+ times. I'm leaving the handling code in case we could break something
+ in the future, as this change seems dangerous (but needed).
+ Fixes #467546.
+
2009-02-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Complete incomplete rows when they are added to
goto ProcessNextMessage;
}
+ // We are already firing WM_SHOWWINDOW messages in the proper places, but I'm leaving this code
+ // in case we break a scenario not taken into account in the tests
case XEventName.MapNotify: {
- if (client && (xevent.ConfigureEvent.xevent == xevent.ConfigureEvent.window)) { // Ignore events for children (SubstructureNotify) and client areas
+ /*if (client && (xevent.ConfigureEvent.xevent == xevent.ConfigureEvent.window)) { // Ignore events for children (SubstructureNotify) and client areas
hwnd.mapped = true;
msg.message = Msg.WM_SHOWWINDOW;
msg.wParam = (IntPtr) 1;
// XXX we're missing the lParam..
break;
- }
+ }*/
goto ProcessNextMessage;
}
case XEventName.UnmapNotify: {
- if (client && (xevent.ConfigureEvent.xevent == xevent.ConfigureEvent.window)) { // Ignore events for children (SubstructureNotify) and client areas
+ /*if (client && (xevent.ConfigureEvent.xevent == xevent.ConfigureEvent.window)) { // Ignore events for children (SubstructureNotify) and client areas
hwnd.mapped = false;
msg.message = Msg.WM_SHOWWINDOW;
msg.wParam = (IntPtr) 0;
// XXX we're missing the lParam..
break;
- }
+ }*/
goto ProcessNextMessage;
}