summaryrefslogtreecommitdiff
path: root/libraries/qt5/patches/qt5.whandle.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2016-03-16 16:18:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-19 22:23:57 +0700
commit7a0108ce2f22af50b0a07700f4777bfeda25e734 (patch)
treefbfeb11d0e1684b9ecc17ba1557b0c714fd517be /libraries/qt5/patches/qt5.whandle.patch
parent9754ca04ac0a521a3365a8d2e5d40df2650a0b4c (diff)
downloadslackbuilds-7a0108ce2f22af50b0a07700f4777bfeda25e734.tar.gz
libraries/qt5: Added a patch for the newer mozilla-nss.
Also another one for QTBUG-48321 (cropped video with vlc) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/qt5/patches/qt5.whandle.patch')
-rw-r--r--libraries/qt5/patches/qt5.whandle.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libraries/qt5/patches/qt5.whandle.patch b/libraries/qt5/patches/qt5.whandle.patch
new file mode 100644
index 0000000000..4428974d04
--- /dev/null
+++ b/libraries/qt5/patches/qt5.whandle.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/qtbase/src/widgets/kernel/qwidget.cpp b/qtbase/src/widgets/kernel/qwidget.cpp
+index a006246..024005d 100644
+--- a/qtbase/src/widgets/kernel/qwidget.cpp
++++ b/qtbase/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))