Project

General

Profile

Bug #2229 » gpm-manager_elogind.patch

BetaRays, 2019-03-03 06:12 PM

View differences:

a/src/gpm-manager.c 2019-03-03 18:59:10.814632943 +0100
1817 1817
	connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
1818 1818
	g_connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
1819 1819

  
1820
	/* We want to inhibit the systemd suspend options, and take care of them ourselves */
1821
	if (LOGIND_RUNNING()) {
1822
		manager->priv->systemd_inhibit = gpm_manager_systemd_inhibit (manager->priv->systemd_inhibit_proxy);
1823
	}
1824

  
1825 1820
	/* init to unthrottled */
1826 1821
	manager->priv->screensaver_ac_throttle_id = 0;
1827 1822
	manager->priv->screensaver_dpms_throttle_id = 0;
(2-2/2)