Skip to content

Commit dbd4c34

Browse files
committed
Fix Window Restore #228
1 parent 8c92878 commit dbd4c34

File tree

1 file changed

+1
-1
lines changed
  • src/Shared/HandyControl_Shared/Controls/Window

1 file changed

+1
-1
lines changed

src/Shared/HandyControl_Shared/Controls/Window/Window.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ private IntPtr HwndSourceHook(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam
439439
case InteropValues.WM_SYSCOMMAND:
440440
if (!ShowMaxButton)
441441
{
442-
if ((int) wparam == InteropValues.SC_MAXIMIZE || (int) wparam == InteropValues.SC_RESTORE)
442+
if ((int) wparam == InteropValues.SC_MAXIMIZE)
443443
{
444444
handled = true;
445445
}

0 commit comments

Comments
 (0)