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
This commit is contained in:
Dominique Leuenberger 2018-04-25 11:59:35 +00:00 committed by Git OBS Bridge
parent e94dbe6025
commit 8ba7656e07
3 changed files with 13 additions and 7 deletions

View File

@ -22,8 +22,8 @@ index 93c704e9..a6aee267 100644
</key>
+ <key name="disable-touch-screen" type="b">
+ <default>true</default>
+ <_summary>Disable touch screen input when screen is off</_summary>
+ <_description>Disable touch screen input when screen is off</_description>
+ <summary>Disable touch screen input when screen is off</summary>
+ <description>Disable touch screen input when screen is off</description>
+ </key>
</schema>
</schemalist>
@ -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

View File

@ -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

View File

@ -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