+2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
+
+ * XplatUIX11.cs: Non Client area is actually Client such in the
+ case of NotifyIcon, so double check WholeWindow == ClientWindow
+ when adding an expose.
+ [Fixes bugs #324237 and #357022]
+
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutPanel.cs: Invalidate after layouting, so that we
MoveResizeWindow (DisplayHandle, hwnd.client_window, rect.X, rect.Y, rect.Width, rect.Height);
}
- AddExpose (hwnd, false, 0, 0, hwnd.Width, hwnd.Height);
+ AddExpose (hwnd, hwnd.WholeWindow == hwnd.ClientWindow, 0, 0, hwnd.Width, hwnd.Height);
}
#endregion // Private Methods
hwnd = Hwnd.ObjectFromHandle(handle);
- AddExpose (hwnd, false, 0, 0, hwnd.Width, hwnd.Height);
+ AddExpose (hwnd, hwnd.WholeWindow == hwnd.ClientWindow, 0, 0, hwnd.Width, hwnd.Height);
}
internal override bool IsEnabled(IntPtr handle) {