fix the system menu too
This commit is contained in:
parent
15ab87f5d4
commit
fd2f584019
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue