Fix aero-snap when there's native childs eating WM_NCHITTEST

This commit is contained in:
Sergio Martins
2019-07-31 09:32:43 +01:00
parent 990a98d7d9
commit 73954d40ff
3 changed files with 57 additions and 0 deletions

View File

@@ -126,6 +126,7 @@ int main(int argc, char **argv)
auto dock = new DockWidget(QStringLiteral("foo"), s_dockWidgetOptions);
dock->setIcon(QIcon::fromTheme(QStringLiteral("mail-message")));
dock->setWidget(example);
example->winId();
dock->resize(400, 400);
dock->show();
window.toggleMenu->addAction(dock->toggleAction());