* XplatUIX11.cs: Forms without borders should be able to change its
size - specially they should be able to be maximized, adding the
respective MotifFunctions.Resize bit when setting window properties as
well as *not* marking the Hwnd as size fixed.
Fixes #444347.
svn path=/trunk/mcs/; revision=119020
+2008-11-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * XplatUIX11.cs: Forms without borders should be able to change its
+ size - specially they should be able to be maximized, adding the
+ respective MotifFunctions.Resize bit when setting window properties as
+ well as *not* marking the Hwnd as size fixed.
+ Fixes #444347.
+
2008-11-12 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCellStyle.cs: Allow SelectionBackColor to have
is ignored by metacity. */
functions |= MotifFunctions.Move | MotifFunctions.Resize | MotifFunctions.Minimize | MotifFunctions.Maximize;
} else if (form != null && form.FormBorderStyle == FormBorderStyle.None) {
- functions |= MotifFunctions.All;
+ /* allow borderless window to be maximized */
+ functions |= MotifFunctions.All | MotifFunctions.Resize;
} else {
if (StyleSet (cp.Style, WindowStyles.WS_CAPTION)) {
functions |= MotifFunctions.Move;