forked from github_mirror/framelesshelper
Minor tweaks.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
208e831fc5
commit
0debbb890f
|
@ -42,7 +42,9 @@ void updateWindow(QWidget *widget)
|
|||
{
|
||||
Q_ASSERT(widget);
|
||||
if (widget->isTopLevel()) {
|
||||
WinNativeEventFilter::updateWindow(getRawHandle(widget), true, true);
|
||||
void *handle = getRawHandle(widget);
|
||||
WinNativeEventFilter::updateFrameMargins(handle);
|
||||
WinNativeEventFilter::updateWindow(handle, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ public:
|
|||
// On Win10 it's the Acrylic effect.
|
||||
static bool setBlurEffectEnabled(void *handle /* HWND */, const bool enabled = true);
|
||||
|
||||
// a
|
||||
// Thin wrapper of DwmExtendFrameIntoClientArea().
|
||||
static void updateFrameMargins(void *handle /* HWND */);
|
||||
|
||||
///////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue