aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-11-22 10:07:50 -0700
committerAShifter <[email protected]>2017-11-22 10:07:50 -0700
commitc84709a48624714a16a5a0b4f3bbb38842d1b978 (patch)
treebcf8074be1c260c3bde18652917cc0842ebd3683
parent277d5c79e703a287ff11b990822b66e180cd1253 (diff)
downloadshiftos-rewind-c84709a48624714a16a5a0b4f3bbb38842d1b978.tar.gz
shiftos-rewind-c84709a48624714a16a5a0b4f3bbb38842d1b978.tar.bz2
shiftos-rewind-c84709a48624714a16a5a0b4f3bbb38842d1b978.zip
A proper stacking WM
Windows don't fall behind the desktop - I'm happy.
-rw-r--r--ShiftOS.Engine/WindowManager/ShiftWM.cs2
-rw-r--r--ShiftOS.Engine/WindowManager/ShiftWindow.Designer.cs2
-rw-r--r--ShiftOS.Main/ShiftOS/Desktop.cs2
3 files changed, 4 insertions, 2 deletions
diff --git a/ShiftOS.Engine/WindowManager/ShiftWM.cs b/ShiftOS.Engine/WindowManager/ShiftWM.cs
index 59322c1..4b57961 100644
--- a/ShiftOS.Engine/WindowManager/ShiftWM.cs
+++ b/ShiftOS.Engine/WindowManager/ShiftWM.cs
@@ -107,6 +107,8 @@ namespace ShiftOS.Engine.WindowManager
extensions.OnLoaded(app);
}
+ app.TopMost = true;
+
return app;
}
diff --git a/ShiftOS.Engine/WindowManager/ShiftWindow.Designer.cs b/ShiftOS.Engine/WindowManager/ShiftWindow.Designer.cs
index df479ba..d3ffc19 100644
--- a/ShiftOS.Engine/WindowManager/ShiftWindow.Designer.cs
+++ b/ShiftOS.Engine/WindowManager/ShiftWindow.Designer.cs
@@ -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();
diff --git a/ShiftOS.Main/ShiftOS/Desktop.cs b/ShiftOS.Main/ShiftOS/Desktop.cs
index c61dea9..1bb47c6 100644
--- a/ShiftOS.Main/ShiftOS/Desktop.cs
+++ b/ShiftOS.Main/ShiftOS/Desktop.cs
@@ -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();