Skip to content

Commit

Permalink
Inner Putty windows - Leave borders thin. This fixes incompatibility …
Browse files Browse the repository at this point in the history
…with new KiTTY versions, causing texts to be started and even cut by SuperPuTTY window mainly on left and bottom.
  • Loading branch information
vityank committed Apr 16, 2020
1 parent 0527989 commit b261b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SuperPutty/ctlApplicationPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ protected override void OnVisibleChanged(EventArgs e)

// set window parameters (how it's displayed)
long lStyle = NativeMethods.GetWindowLong(m_AppWin, NativeMethods.GWL_STYLE);
lStyle &= ~(NativeMethods.WS_BORDER | NativeMethods.WS_THICKFRAME);
lStyle &= ~NativeMethods.WS_BORDER;
NativeMethods.SetWindowLong(m_AppWin, NativeMethods.GWL_STYLE, lStyle);
NativeMethods.WinEventDelegate lpfnWinEventProc = new NativeMethods.WinEventDelegate(WinEventProc);
this.lpfnWinEventProcs.Add(lpfnWinEventProc);
Expand Down

0 comments on commit b261b92

Please sign in to comment.