Allow window to receive WM_DPICHANGED in Qt.
This commit is contained in:
parent
a113e50050
commit
2404225e09
1 changed files with 1 additions and 4 deletions
|
|
@ -581,12 +581,9 @@ bool WindowHelper::handleNativeEvent(
|
|||
_systemButtonOver.fire(systemButtonHitTest(*result));
|
||||
} return true;
|
||||
|
||||
// should return true for Qt not to change window size
|
||||
// when moving the window between screens
|
||||
// change to false once runtime scale change would be supported
|
||||
case WM_DPICHANGED: {
|
||||
_dpi = LOWORD(wParam);
|
||||
} return true;
|
||||
} return false;
|
||||
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue