Skip to content
Snippets Groups Projects
  1. Jan 15, 2020
    • Gusti Ridhoni Syahputera's avatar
      Fix float parsing error (bug #16295) · 378c7881
      Gusti Ridhoni Syahputera authored and Sean Davis's avatar Sean Davis committed
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      378c7881
    • Michael Weiser's avatar
      Fix inhibitor proxying (bug #16356) · a9d0eb92
      Michael Weiser authored and Sean Davis's avatar Sean Davis committed
      
      When inhibiting the screensaver using e.g. xfce4-screensaver-command -q,
      xfce4-screensaver would report an error:
      
      org.freedesktop.DBus.Error.ServiceUnknown raised: The name
      org.freedesktop.login1 was not provided by any .service files
      
      Consequently, no inhibitor was added to logind. This was due
      to the fact that the wrong connection was used for the dbus message and
      thus logind expected on the session bus.
      
      Switching to the system connection to correctly relay the inhibitor to
      logind.
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      a9d0eb92
    • Michael Weiser's avatar
      Fix inhibitor listing in xfce4-screensaver-command (bug #16355) · 25681432
      Michael Weiser authored and Sean Davis's avatar Sean Davis committed
      
      The command would not reflect inhibited status and would not show the
      inhibitors. This was due to the fact that unref'ing the reply gobject
      also invalidates the body extracted from it and the iterator was set up
      with the wrong format string.
      
      Also, the body is a container and always contains the inhibitor array
      element, even if it's empty. Therefore we have to check the number of
      children of the actual array variant and not the body.
      
      Change both to get inhibitors listed and inhibition status shown when
      querying status.
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      25681432
    • Michael Weiser's avatar
      Add systemd sleep inhibitor (bug #15929) · f2d07a37
      Michael Weiser authored and Sean Davis's avatar Sean Davis committed
      
      Looking at the timestamps in debug output it seems to me that systemd is simply suspending too fast for xfce4-screensaver to activate the lock screen.
      
      Adding a sleep delay inhibitor lock makes the problem go away since it gives xfce4-screensaver time to activate the lock screen before allowing systemd to continue suspending the system.
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      f2d07a37
    • Michael Weiser's avatar
      Fix dbus inhibition (bug #16365) · 69c32a11
      Michael Weiser authored and Sean Davis's avatar Sean Davis committed
      
      Port over necessary routines from mate screensaver and wire them into
      idle screensaving and locking decisions. Do not inhibit explicit
      locking e.g. via dbus because it's security relevant and we should
      do it if requested explicitly.
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      69c32a11
    • Michael Weiser's avatar
      dbus: Prevent overzealous activiation (bug #16365) · 7e6fe76f
      Michael Weiser authored and Sean Davis's avatar Sean Davis committed
      
      Port over a check from mate screensaver that prevents activation when
      clearing an inhibitor by first checking if the session is actually idle.
      If clearing the inhibitor is the result of some interactive user action,
      this should never be the case and thus prevent e.g. saver activation
      when stopping video playback that did inhibit the screen saver.
      
      Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
      7e6fe76f
  2. Jan 05, 2020
  3. Dec 27, 2019
  4. Dec 26, 2019
  5. Dec 25, 2019
  6. Nov 10, 2019
  7. Nov 07, 2019
  8. Oct 30, 2019
  9. Oct 17, 2019
  10. Sep 30, 2019
  11. Sep 19, 2019
  12. Sep 08, 2019
  13. Aug 30, 2019
  14. Aug 26, 2019
  15. Aug 21, 2019
  16. Aug 17, 2019
  17. Aug 14, 2019
  18. Aug 12, 2019
  19. Aug 11, 2019
  20. Aug 10, 2019
  21. Aug 08, 2019
  22. Aug 07, 2019
  23. Aug 06, 2019
  24. Aug 05, 2019
  25. Aug 04, 2019
Loading