aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Desktop/Desktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-13 08:40:47 -0400
committerMichael <[email protected]>2017-07-13 08:40:47 -0400
commite92af1bc7fe5cd5860206061f4ff261b3339cc51 (patch)
tree14b571e2495731d7302b61c56d18ae5e4988587e /ShiftOS.Frontend/Desktop/Desktop.cs
parentaf01804c0fb4286f5975e973aec2b4eaf9752c08 (diff)
downloadshiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.gz
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.bz2
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.zip
SidePanel system, system status, crapton of other neat things
Diffstat (limited to 'ShiftOS.Frontend/Desktop/Desktop.cs')
-rw-r--r--ShiftOS.Frontend/Desktop/Desktop.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/Desktop/Desktop.cs b/ShiftOS.Frontend/Desktop/Desktop.cs
index 85949e2..bc219b2 100644
--- a/ShiftOS.Frontend/Desktop/Desktop.cs
+++ b/ShiftOS.Frontend/Desktop/Desktop.cs
@@ -190,7 +190,10 @@ namespace ShiftOS.Frontend.Desktop
protected override void OnLayout()
{
- SendToBack();
+ if (alOpen)
+ BringToFront();
+ else
+ SendToBack();
X = 0;
Y = 0;
Width = GetSize().Width;