diff --git a/gnome-control-center-touchpad-wayland-cap.patch b/gnome-control-center-touchpad-wayland-cap.patch new file mode 100644 index 0000000..57df1af --- /dev/null +++ b/gnome-control-center-touchpad-wayland-cap.patch @@ -0,0 +1,30 @@ +From db5dcda0badd33b9aea576f4f3a45c8076f11b8c Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Mon, 2 May 2016 14:35:33 +0200 +Subject: mouse: Make touchpad capability checking on wayland work as intended + +We need to set the out variables otherwise the intended semantics as +documented by the comment aren't enforced. + +https://bugzilla.gnome.org/show_bug.cgi?id=765879 +--- + panels/mouse/cc-mouse-caps-helper.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/panels/mouse/cc-mouse-caps-helper.c b/panels/mouse/cc-mouse-caps-helper.c +index 6fdeb4d..3b912ce 100644 +--- a/panels/mouse/cc-mouse-caps-helper.c ++++ b/panels/mouse/cc-mouse-caps-helper.c +@@ -96,6 +96,9 @@ cc_touchpad_check_capabilities (gboolean *have_two_finger_scrolling, + have_edge_scrolling, + have_tap_to_click); + /* else we unconditionally show all touchpad knobs */ ++ *have_two_finger_scrolling = TRUE; ++ *have_edge_scrolling = TRUE; ++ *have_tap_to_click = TRUE; + return FALSE; + } + +-- +cgit v0.12 + diff --git a/gnome-control-center.changes b/gnome-control-center.changes index 12495d7..fb4c94d 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 20 15:38:00 UTC 2016 - zaitor@opensuse.org + +- Add gnome-control-center-touchpad-wayland-cap.patch: mouse: Make + touchpad capability checking on wayland work as intended + (bgo#765879). + ------------------------------------------------------------------- Mon Apr 18 07:23:31 UTC 2016 - alarrosa@suse.com diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 1c11da6..8b11a56 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -52,6 +52,8 @@ Patch16: gnome-control-center-probe-radius-server-cert.patch Patch17: gnome-control-center-follow-polkit-permissions-for-tz.patch # PATCH-FIX-SLE gnome-control-center-890979-change-remote-passwd.patch bnc#890979 dliang@suse.com -- user: Enable remote user to change password in user panel Patch18: gnome-control-center-890979-change-remote-passwd.patch +# PATCH-FIX-UPSTREAM gnome-control-center-touchpad-wayland-cap.patch bgo#765879 zaitor@opensuse.org -- mouse: Make touchpad capability checking on wayland work as intended +Patch19: gnome-control-center-touchpad-wayland-cap.patch BuildRequires: cups-devel BuildRequires: desktop-file-utils BuildRequires: fdupes @@ -201,6 +203,7 @@ translation-update-upstream %endif #NEEDS-REBASE #patch14 -p1 +%patch19 -p1 %build ACLOCAL_FLAGS="-I libgd" NOCONFIGURE=1 gnome-autogen.sh