mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 17:52:15 +00:00
A proper stacking WM
Windows don't fall behind the desktop - I'm happy.
This commit is contained in:
parent
277d5c79e7
commit
c84709a486
3 changed files with 4 additions and 2 deletions
|
@ -107,6 +107,8 @@ namespace ShiftOS.Engine.WindowManager
|
||||||
extensions.OnLoaded(app);
|
extensions.OnLoaded(app);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.TopMost = true;
|
||||||
|
|
||||||
return app;
|
return app;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace ShiftOS.Main.ShiftOS
|
||||||
|
|
||||||
Closed += (sender, args) => { Application.Exit(); };
|
Closed += (sender, args) => { Application.Exit(); };
|
||||||
}
|
}
|
||||||
|
|
||||||
private void shifterToolStripMenuItem_Click(object sender, EventArgs e)
|
private void shifterToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter();
|
Apps.ShifterStuff.Shifter app = new Apps.ShifterStuff.Shifter();
|
||||||
|
|
Loading…
Reference in a new issue