diff --git a/mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb b/mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb index b40dbf45b..d53a00aa7 100644 --- a/mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb +++ b/mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb @@ -73,18 +73,6 @@ Namespace Connection End Set End Property - 'Private borderWidth As Integer = frmMain.Size.Width - frmMain.ClientSize.Width - 'Private borderHeight As Integer = frmMain.Size.Height - frmMain.ClientSize.Height - Private Shared _BorderSize As Size - Public Shared Property BorderSize() As Size - Get - Return _BorderSize - End Get - Set(ByVal value As Size) - _BorderSize = value - End Set - End Property - Public ReadOnly Property Focused() As Boolean Get If GetForegroundWindow() = PuttyHandle Then diff --git a/mRemoteV1/Forms/frmMain.vb b/mRemoteV1/Forms/frmMain.vb index d75309442..ec65512b5 100644 --- a/mRemoteV1/Forms/frmMain.vb +++ b/mRemoteV1/Forms/frmMain.vb @@ -57,7 +57,6 @@ Public Class frmMain MessageCollector = New Messages.Collector(Windows.errorsForm) Connection.Protocol.RDP.Resolutions.AddResolutions() - Connection.Protocol.PuttyBase.BorderSize = New Size(SystemInformation.FrameBorderSize.Width, SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height) 'Size.Subtract(Me.Size, Me.ClientSize) WindowList = New UI.Window.List