A proper stacking WM

Windows don't fall behind the desktop - I'm happy.
This commit is contained in:
AShifter 2017-11-22 10:07:50 -07:00
parent 277d5c79e7
commit c84709a486
3 changed files with 4 additions and 2 deletions

View file

@ -107,6 +107,8 @@ namespace ShiftOS.Engine.WindowManager
extensions.OnLoaded(app);
}
app.TopMost = true;
return app;
}

View file

@ -229,7 +229,7 @@
this.Controls.Add(this.program);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ShiftWindow";
this.Text = "c";
this.Text = "Application Title";
this.program.ResumeLayout(false);
this.titleBar.ResumeLayout(false);
this.titleBar.PerformLayout();

View file

@ -18,7 +18,7 @@ namespace ShiftOS.Main.ShiftOS
Closed += (sender, args) => { Application.Exit(); };
}
private void shifterToolStripMenuItem_Click(object sender, EventArgs e)
{
Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter();