Use the X11 backend instead of Wayland
https://bugzilla.redhat.com/show_bug.cgi?id=1374321
This commit is contained in:
parent
cc6f54efed
commit
3a60e6191c
31
Use-the-X11-backend-instead-of-Wayland.patch
Normal file
31
Use-the-X11-backend-instead-of-Wayland.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 00d2fbb998de419e514568c79fe0c3d8b9cc1a38 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kalev Lember <klember@redhat.com>
|
||||||
|
Date: Wed, 14 Sep 2016 17:52:24 +0200
|
||||||
|
Subject: [PATCH] Use the X11 backend instead of Wayland
|
||||||
|
|
||||||
|
Force file-roller to use the gtk+ X11 backend even when running under a
|
||||||
|
Wayland session. This is currently needed to work around missing support
|
||||||
|
for arbitrarily named clipboards.
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=770333
|
||||||
|
---
|
||||||
|
src/main.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/main.c b/src/main.c
|
||||||
|
index 043f604..9fcb993 100644
|
||||||
|
--- a/src/main.c
|
||||||
|
+++ b/src/main.c
|
||||||
|
@@ -34,6 +34,10 @@ main (int argc, char **argv)
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
|
textdomain (GETTEXT_PACKAGE);
|
||||||
|
|
||||||
|
+ /* Use the X11 backend instead of Wayland,
|
||||||
|
+ * https://bugzilla.gnome.org/show_bug.cgi?id=770333 */
|
||||||
|
+ gdk_set_allowed_backends ("x11");
|
||||||
|
+
|
||||||
|
app = fr_application_new ();
|
||||||
|
status = g_application_run (G_APPLICATION (app), argc, argv);
|
||||||
|
|
||||||
|
--
|
||||||
|
2.7.4
|
@ -7,6 +7,10 @@ License: GPLv2+
|
|||||||
URL: https://wiki.gnome.org/Apps/FileRoller
|
URL: https://wiki.gnome.org/Apps/FileRoller
|
||||||
Source0: https://download.gnome.org/sources/%{name}/3.21/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/3.21/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Use the X11 backend instead of Wayland
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=770333
|
||||||
|
Patch0: Use-the-X11-backend-instead-of-Wayland.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
@ -32,6 +36,7 @@ such as tar or zip files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -82,6 +87,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
* Wed Sep 14 2016 Kalev Lember <klember@redhat.com> - 3.21.91-1
|
* Wed Sep 14 2016 Kalev Lember <klember@redhat.com> - 3.21.91-1
|
||||||
- Update to 3.21.91
|
- Update to 3.21.91
|
||||||
- Don't set group tags
|
- Don't set group tags
|
||||||
|
- Use the X11 backend instead of Wayland (#1374321)
|
||||||
|
|
||||||
* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 3.21.90-2
|
* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 3.21.90-2
|
||||||
- Disable nautilus extension
|
- Disable nautilus extension
|
||||||
|
Loading…
Reference in New Issue
Block a user