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); extensions.OnLoaded(app);
} }
app.TopMost = true;
return app; return app;
} }

View file

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