#endif //WX_PRECOMP
#include "wx/x11/private.h"
-#include "X11/Xatom.h"
-#include "X11/Xutil.h"
-// list of all frames and modeless dialogs
-// wxWindowList wxModelessWindows;
+
+bool wxMWMIsRunning(Window w);
// ----------------------------------------------------------------------------
// wxTopLevelWindowX11 creation
XWMHints wm_hints;
long xattributes_mask =
- CWEventMask |
+ CWOverrideRedirect |
CWBorderPixel | CWBackPixel;
xattributes.background_pixel = BlackPixel( xdisplay, xscreen );
xattributes.border_pixel = BlackPixel( xdisplay, xscreen );
bool wxTopLevelWindowX11::Show(bool show)
{
- if ( !wxWindowBase::Show(show) )
- return FALSE;
-
return wxWindowX11::Show(show);
}
wmHints->icon_mask = (Pixmap) icon.GetMask()->GetPixmap();
}
- XSetWMHints(wxGlobalDisplay(), (Window) GetMainWindow(),
- wmHints);
+ XSetWMHints(wxGlobalDisplay(), (Window) GetMainWindow(), wmHints);
XFree(wmHints);
}
}