fix the system menu too

This commit is contained in:
Mike Griese 2021-11-16 13:10:32 -06:00
parent 15ab87f5d4
commit fd2f584019

View file

@ -271,6 +271,14 @@ LRESULT NonClientIslandWindow::_InputSinkMessageHandler(UINT const message,
break;
}
return 0;
// Make sure to pass along right-clicks in this region to our parent window
// - we don't need to handle these.
case WM_NCRBUTTONDOWN:
case WM_NCRBUTTONDBLCLK:
case WM_NCRBUTTONUP:
auto parentWindow{ GetHandle() };
return SendMessage(parentWindow, message, wparam, lparam);
}
return DefWindowProc(_dragBarWindow.get(), message, wparam, lparam);