From 8ba7656e071c85b0778da5cd1b3f8a5d4c1b1c3b3a965c824df4492a9dfb19e4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Apr 2018 11:59:35 +0000 Subject: [PATCH] Accepting request 600966 from home:xiaoguang_wang:branches:GNOME:Factory - Update gnome-settings-daemon-touch-screen-switch.patch (bsc#1086496, glgo#GNOME/gnome-settings-daemon/#29). OBS-URL: https://build.opensuse.org/request/show/600966 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=326 --- gnome-settings-daemon-touch-screen-switch.patch | 12 ++++++------ gnome-settings-daemon.changes | 6 ++++++ gnome-settings-daemon.spec | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/gnome-settings-daemon-touch-screen-switch.patch b/gnome-settings-daemon-touch-screen-switch.patch index 4cc439a..9177f70 100644 --- a/gnome-settings-daemon-touch-screen-switch.patch +++ b/gnome-settings-daemon-touch-screen-switch.patch @@ -22,8 +22,8 @@ index 93c704e9..a6aee267 100644 + + true -+ <_summary>Disable touch screen input when screen is off -+ <_description>Disable touch screen input when screen is off ++ Disable touch screen input when screen is off ++ Disable touch screen input when screen is off + @@ -34,7 +34,7 @@ index 82d81e96..37f8fa94 100644 @@ -937,6 +937,9 @@ screen_devices_disable (GsdPowerManager *manager) GdkDeviceManager *device_manager; GList *devices, *l; - + + if (!g_settings_get_boolean (manager->priv->settings, "disable-touch-screen")) + return; + @@ -44,13 +44,13 @@ index 82d81e96..37f8fa94 100644 @@ -975,6 +978,9 @@ screen_devices_enable (GsdPowerManager *manager) { GList *l, *disabled_devices; - + + if (!g_settings_get_boolean (manager->priv->settings, "disable-touch-screen")) + return; + if (gnome_settings_is_wayland ()) return; - --- + +-- 2.12.3 diff --git a/gnome-settings-daemon.changes b/gnome-settings-daemon.changes index 276cd1a..836dcbe 100644 --- a/gnome-settings-daemon.changes +++ b/gnome-settings-daemon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 25 09:19:24 UTC 2018 - xwang@suse.com + +- Update gnome-settings-daemon-touch-screen-switch.patch + (bsc#1086496, glgo#GNOME/gnome-settings-daemon/#29). + ------------------------------------------------------------------- Fri Apr 13 08:54:24 UTC 2018 - xwang@suse.com diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index a72bde4..6a6936d 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -32,7 +32,7 @@ Release: 0 Summary: Settings daemon for the GNOME desktop License: GPL-2.0-or-later Group: System/GUI/GNOME -URL: http://www.gnome.org +Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-settings-daemon/3.28/%{name}-%{version}.tar.xz # PATCH-FEATURE-SLE gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep Patch1: gnome-settings-daemon-notify-idle-resumed.patch