path: root/src/gs-listener-dbus.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-21drop defines for ancient dbus versionmonsta1-6/+0
2015-12-14get rid of some build warnings when --without-console-kit is setmonsta1-0/+2
2015-12-13remove more unused variablesWolfgang Ulbrich1-2/+1
this avoid some build warnings
2015-10-20Revert "Lock the screen on systemd sleep under systemd"monsta1-17/+0
This reverts commit f1739c03e00a51e87bd49d04827e5b765d1c70de.
2015-10-14Lock the screen on systemd sleep under systemdFaidon Liambotis1-0/+17
Add a handler for the PrepareForSleep event on the system bus under systemd and lock the screen in such an event. This addresses the issue where "systemctl suspend" suspends the system but the system isn't locked on resume, with the obvious negative security connotations.
2015-10-14Fix systemd event handlingFaidon Liambotis1-21/+35
Right now the systemd event handling is not actually working at all. This happens because _listener_message_path_is_our_session() has code to check if the event came to our session (e.g. "10") and, under systemd, does this by trying to compare it with the object path, by stripping the /org/freedesktop/login1/session/ prefix. However, under -at least recent versions- of systemd, the session ID part of the path is escaped separately, and following D-Bus rules initial numbers are escaped. In the example above, the obj_path is /org/freedesktop/login1/session/_310, so the comparison actually fails. Port a fix that has been present on various distributions (e.g. Arch) and pieces of software (e.g. cinnamon-screensaver) since at least March 2013. The original author is Peter de Ridder <[email protected]>. The bug and the fix can both be easily verified by running "loginctl lock-sessions".
2015-09-04Switch to org.gnome.SessionManagerClement Lefebvre1-3/+3
2014-07-02Remove some old code after GLIB and GTK2 minimum version bumpStefano Karapetsas1-24/+1
2014-01-14Check for logind, not for systemdraveit651-2/+3
2014-01-14Fix compile warning if not compiled with systemdraveit651-2/+1
2014-01-14listener-dbus: s/ConsoleKit/systemd/raveit651-2/+2
2012-12-05fix indentationNelson Marques1-2/+2
2012-12-05prevent mate-screensaver to launch a 2nd instanceNelson Marques1-3/+12
2012-11-18fixed incorrect fsf addressesSteve Zesch1-1/+1
2012-11-12add support for systemd-logindStefano Karapetsas1-10/+211
2011-11-04first commitPerberos1-0/+2272