Skip to content

Commit

Permalink
Dirkster99#345 fix refresh when moving floating windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nmagni committed May 3, 2022
1 parent 22b9bb9 commit d275b35
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,6 @@ private IntPtr _HandleNCCalcSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool
// Since we always want the client size to equal the window size, we can unconditionally handle it
// without having to modify the parameters.
handled = true;
if (wParam != IntPtr.Zero)
{
var client = (RECT)Marshal.PtrToStructure(lParam, typeof(RECT));
client.Bottom++;
Marshal.StructureToPtr(client, lParam, false);
return IntPtr.Zero;
}
return new IntPtr((int)WVR.REDRAW);
}

Expand Down

0 comments on commit d275b35

Please sign in to comment.