You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::optional<LRESULT> WindowManagerPlugin::HandleWindowProc(HWND hWnd,
UINT message,
WPARAM wParam,
LPARAM lParam) {
std::optional<LRESULT> result = std::nullopt;
if (message == WM_NCCALCSIZE) {
// This must always be first or else the one of other two ifs will execute
// when window is in full screen and we don't want that
if (wParam && window_manager->IsFullScreen()) {
NCCALCSIZE_PARAMS* sz = reinterpret_cast<NCCALCSIZE_PARAMS*>(lParam);
sz->rgrc[0].bottom -= 3;
return 0;
}
...
...
}
sz->rgrc[0].bottom -= 3;
Can you tell me why the bottom margin of 3px should be reserved?
Thanks
The text was updated successfully, but these errors were encountered:
damywise
pushed a commit
to damywise/window_manager
that referenced
this issue
Jun 26, 2023
…om fullscreen (#359)
- Removes the line that `cuts the app at the bottom by the pixel to prevent jitter when resizing app`
- Remove the line that `cuts the app by 3 pixels at the bottom when full screen`
- Fixes#311, #266, #228, #355, #237
window_manager_plugin.cpp
sz->rgrc[0].bottom -= 3;
Can you tell me why the bottom margin of 3px should be reserved?
Thanks
The text was updated successfully, but these errors were encountered: