diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-07 16:15:33 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-07 16:15:33 +0000 |
commit | b5a9844862e1da6db83c6d90e0c5bfb523ec0d3f (patch) | |
tree | afe5c2a63a1984323a0ea6d8c178b8c530654c7d /dev-qt/qtwidgets-5.5.1 | |
parent | smbldap-tools now fixed in portage (diff) | |
download | patches-b5a9844862e1da6db83c6d90e0c5bfb523ec0d3f.tar.bz2 patches-b5a9844862e1da6db83c6d90e0c5bfb523ec0d3f.tar.xz patches-b5a9844862e1da6db83c6d90e0c5bfb523ec0d3f.zip |
Upstream VLC fix for qtwidgets
Diffstat (limited to 'dev-qt/qtwidgets-5.5.1')
-rw-r--r-- | dev-qt/qtwidgets-5.5.1/415738.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-qt/qtwidgets-5.5.1/415738.patch b/dev-qt/qtwidgets-5.5.1/415738.patch new file mode 100644 index 0000000..e7edc75 --- /dev/null +++ b/dev-qt/qtwidgets-5.5.1/415738.patch @@ -0,0 +1,24 @@ +From: Ulf Hermann <ulf.hermann@theqtcompany.com> +Date: Tue, 27 Oct 2015 14:25:42 +0000 (+0100) +Subject: WIP: Also do hide/show via WA_OutsideWSRange for native widgets +X-Git-Url: https://codereview.qt-project.org/gitweb?p=qt%2Fqtbase.git;a=commitdiff_plain;h=5ea44d1d516f0c68a6793279df5c1569ef9fadd2 + +WIP: Also do hide/show via WA_OutsideWSRange for native widgets + +Task-number: QTBUG-48321 +Change-Id: I78ef29975181ee22429c9bd4b11d96d9e68b7a9c +--- + +diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp +index a006246..024005d 100644 +--- a/src/widgets/kernel/qwidget.cpp ++++ b/src/widgets/kernel/qwidget.cpp +@@ -7169,7 +7169,7 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, int h, bool isMove) + + bool needsShow = false; + +- if (q->isWindow()) { ++ if (q->isWindow() || q->windowHandle()) { + if (!(data.window_state & Qt::WindowFullScreen) && (w == 0 || h == 0)) { + q->setAttribute(Qt::WA_OutsideWSRange, true); + if (q->isVisible() && q->testAttribute(Qt::WA_Mapped)) |