void _ShowDecorations(Box box, bool post)
{
- if(nativeDecorations) return;
+ if(rootWindow == this && nativeDecorations) return;
if(visible && this != guiApp.desktop)
{
Surface surface = RedrawFull(box);
WindowState prevState = state;
state = newState;
- if(nativeDecorations)
+ if(rootWindow == this && nativeDecorations)
return;
if(prevState != newState)
property bool alphaBlend { get { return (bool)alphaBlend; } set { alphaBlend = value; } };
property bool useSharedMemory { get { return (bool)useSharedMemory; } set { useSharedMemory = value; } };
property CreationActivationOption creationActivation { get { return creationActivation; } set { creationActivation = value; } };
- property bool nativeDecorations { get { return (bool)nativeDecorations; } set { nativeDecorations = value; } };
+ property bool nativeDecorations { get { return (bool)nativeDecorations && rootWindow == this; } set { nativeDecorations = value; } };
property bool manageDisplay { get { return (bool)manageDisplay; } set { manageDisplay = value; } };
private:
//bool isRes = toNode.isInResources;
FileDialog fileDialog = importFileDialog;
- fileDialog.parent = parent;
+ fileDialog.master = parent;
if(fileDialog.Modal() == ok)
{
ImportFolderFSI fsi { projectView = this };
FileDialog fileDialog = (!resources) ? this.fileDialog : resourceFileDialog;
fileDialog.type = multiOpen;
fileDialog.text = !resources ? "Add Files to Project" : "Add Resources to Project";
- fileDialog.parent = parent;
+ fileDialog.master = parent;
+
if(fileDialog.Modal() == ok)
{
int c;