From 7c070a8213fc59f289385d82b60c3a49c02e03a9 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 24 Apr 2017 17:23:29 -0400 Subject: block ctrl and alt in terminal --- ShiftOS.WinForms/WindowBorder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ShiftOS.WinForms/WindowBorder.cs') diff --git a/ShiftOS.WinForms/WindowBorder.cs b/ShiftOS.WinForms/WindowBorder.cs index 2829a3e..0d351d2 100644 --- a/ShiftOS.WinForms/WindowBorder.cs +++ b/ShiftOS.WinForms/WindowBorder.cs @@ -134,14 +134,14 @@ namespace ShiftOS.WinForms } }; - - + + this.Width = (LoadedSkin.LeftBorderWidth*2) + _parentWindow.Width + LoadedSkin.RightBorderWidth; + this.Height = (LoadedSkin.TitlebarHeight*2) + _parentWindow.Height + LoadedSkin.BottomBorderWidth; + this.pnlcontents.Controls.Add(this._parentWindow); this._parentWindow.Dock = DockStyle.Fill; this._parentWindow.Show(); SetupControls(this); - this.Width = LoadedSkin.LeftBorderWidth + this.Width + LoadedSkin.RightBorderWidth; - this.Height = LoadedSkin.TitlebarHeight + this.Height + LoadedSkin.BottomBorderWidth; ControlManager.SetupControls(this._parentWindow); Shiftorium.Installed += () => -- cgit v1.2.3