dont resize on taskbar resize if resizable is false
This commit is contained in:
parent
9c217fc6c7
commit
7a7f1ee711
1 changed files with 7 additions and 0 deletions
|
@ -165,6 +165,13 @@ bool NativeWindowViews::PreHandleMSG(
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
case WM_WINDOWPOSCHANGING: {
|
||||||
|
auto window_pos = reinterpret_cast<LPWINDOWPOS>(l_param);
|
||||||
|
if (window_pos->flags | SWP_FRAMECHANGED)
|
||||||
|
return !CanResize();
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue