memo

思いついたこと、やってみたことをテキトウに残していく。

HEAD / patches / gnome-settings-daemon-3.16.0-please-dont-suspend-my-tablet-on-screen-lock.patch

gnome-settings-daemon-3.16.0-please-dont-suspend-my-tablet-on-screen-lock.patch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
--- gnome-settings-daemon-3.16.0/plugins/power/gsd-power-manager.c.orig	2015-04-06 23:29:49.524370265 +0900
+++ gnome-settings-daemon-3.16.0/plugins/power/gsd-power-manager.c	2015-04-06 23:30:50.168580365 +0900
@@ -1009,10 +1009,7 @@
                 g_error_free (error);
         }
 
-        if (manager->priv->is_tablet)
-                action_suspend (manager);
-        else
-                screen_devices_disable (manager);
+        screen_devices_disable (manager);
 
         g_debug ("TESTSUITE: Blanked screen");
 }
powered by blikit