There's a size limit for the baggage that can fit in the overhead storage. As long as your desktop computer is able to fit in those size limitations, it can fit in the overhead storage. If your desktop computer is too big, they might have asked you to gate-check it at the last minute.