Fix editor host resize and dock splitter behavior
This commit is contained in:
@@ -63,6 +63,13 @@ bool WindowMessageDispatcher::TryDispatch(
|
||||
};
|
||||
|
||||
switch (message) {
|
||||
case WM_GETMINMAXINFO:
|
||||
if (application.IsBorderlessWindowEnabled() &&
|
||||
application.HandleBorderlessWindowGetMinMaxInfo(lParam)) {
|
||||
outResult = 0;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case WM_NCCALCSIZE:
|
||||
if (application.IsBorderlessWindowEnabled()) {
|
||||
outResult = application.HandleBorderlessWindowNcCalcSize(wParam, lParam);
|
||||
@@ -75,6 +82,12 @@ bool WindowMessageDispatcher::TryDispatch(
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case WM_SYSCOMMAND:
|
||||
if (application.HandleBorderlessWindowSystemCommand(wParam)) {
|
||||
outResult = 0;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
case WM_SETCURSOR:
|
||||
if (LOWORD(lParam) == HTCLIENT && application.ApplyCurrentCursor()) {
|
||||
outResult = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user