Add patch from vlc mailing list to fix wayland freeze (rfbz#4596)

el8
leigh123linux 6 years ago
parent 309f21e2d0
commit 125f9ecd09

@ -0,0 +1,21 @@
Closes: https://gitlab.gnome.org/GNOME/mutter/issues/244
Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
---
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 1314b520ea..7a63a9d7d9 100644
--- a/modules/gui/qt/util/timetooltip.cpp
+++ b/modules/gui/qt/util/timetooltip.cpp
@@ -73,7 +73,7 @@ void TimeTooltip::adjustPosition()
#if defined( Q_OS_WIN )
mTarget.y() - 2 * size.height() - TIP_HEIGHT / 2 );
#else
- mTarget.y() - size.height() + TIP_HEIGHT / 2 );
+ mTarget.y() - size.height() - TIP_HEIGHT / 2 );
#endif
// Keep the tooltip on the same screen if possible
--
2.17.1

@ -42,7 +42,7 @@
Summary: The cross-platform open-source multimedia framework, player and server Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc Name: vlc
Version: 3.0.3 Version: 3.0.3
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://www.videolan.org URL: https://www.videolan.org
Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz
@ -50,6 +50,9 @@ Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz
Patch0: modules_text_renderer_freetype_text_layout.c.patch Patch0: modules_text_renderer_freetype_text_layout.c.patch
# https://git.videolan.org/?p=vlc.git;a=commit;h=39b0590165501cdeb85595a19bf076d06bcc594c # https://git.videolan.org/?p=vlc.git;a=commit;h=39b0590165501cdeb85595a19bf076d06bcc594c
Patch1: buildfix_qt511.patch Patch1: buildfix_qt511.patch
# https://mailman.videolan.org/pipermail/vlc-devel/2018-July/120638.html
# https://bugzilla.rpmfusion.org/show_bug.cgi?id=4596
Patch2: fix_wayland_freeze.patch
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib BuildRequires: libappstream-glib
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
@ -562,6 +565,9 @@ fi || :
%changelog %changelog
* Sat Aug 04 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.0.3-7
- Add patch from vlc mailing list to fix wayland freeze (rfbz#4596)
* Tue Jul 24 2018 Nicolas Chauvet <kwizart@gmail.com> - 3.0.3-6 * Tue Jul 24 2018 Nicolas Chauvet <kwizart@gmail.com> - 3.0.3-6
- Rebuilt for libplacebo - Rebuilt for libplacebo

Loading…
Cancel
Save