[packages/vlc] upstream patch to fix time tooltip getting focus

atler atler at pld-linux.org
Sun May 6 21:47:57 CEST 2018


commit b146cbdc6a826cad6266f31826299a5d03c309eb
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun May 6 21:46:39 2018 +0200

    upstream patch to fix time tooltip getting focus

 vlc-tooltip.patch | 35 +++++++++++++++++++++++++++++++++++
 vlc.spec          |  2 ++
 2 files changed, 37 insertions(+)
---
diff --git a/vlc.spec b/vlc.spec
index 551cae4..add1bca 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -74,6 +74,7 @@ Patch1:		%{name}-tremor.patch
 Patch2:		%{name}-mpc.patch
 Patch3:		xmas-sucks.patch
 Patch4:		no-cache.patch
+Patch5:		%{name}-tooltip.patch
 URL:		http://www.videolan.org/vlc/
 # 1.0 for X11 or GLESv1, 1.1 for GLESv2
 BuildRequires:	EGL-devel >= %{?with_glesv2:1.1}%{!?with_glesv2:1.0}
@@ -346,6 +347,7 @@ Akcje klienta VLC dla Solid.
 %patch3 -p1
 %endif
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
diff --git a/vlc-tooltip.patch b/vlc-tooltip.patch
new file mode 100644
index 0000000..a44412a
--- /dev/null
+++ b/vlc-tooltip.patch
@@ -0,0 +1,35 @@
+From 58155349a053d38d882d47357b225b8703c696ac Mon Sep 17 00:00:00 2001
+From: Romain Vimont <rom1v at videolabs.io>
+Date: Sat, 21 Apr 2018 20:58:00 +0200
+Subject: [PATCH] qt: make the time tooltip a tooltip
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+This avoids to lose window focus when the mouse is over the seekbar (on
+XFCE), and should also prevent the tooltip to appear resizeable on
+Unity.
+
+Probably fixes #20316
+
+Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
+---
+ modules/gui/qt/util/timetooltip.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules/gui/qt/util/timetooltip.cpp b/modules/gui/qt/util/timetooltip.cpp
+index 23d47b2528..2e7e97d987 100644
+--- a/modules/gui/qt/util/timetooltip.cpp
++++ b/modules/gui/qt/util/timetooltip.cpp
+@@ -33,7 +33,7 @@
+ TimeTooltip::TimeTooltip( QWidget *parent ) :
+     QWidget( parent )
+ {
+-    setWindowFlags( Qt::Tool                    |
++    setWindowFlags( Qt::ToolTip                 |
+                     Qt::WindowStaysOnTopHint    |
+                     Qt::FramelessWindowHint     );
+ 
+-- 
+2.11.0
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vlc.git/commitdiff/b146cbdc6a826cad6266f31826299a5d03c309eb



More information about the pld-cvs-commit mailing list