GNOME Bugzilla – Bug 749994
Reset idle time on resume and session becoming active
Last modified: 2015-05-28 12:24:47 UTC
Here's a couple more places where we should reset idle time.
Created attachment 304098 [details] [review] native/meta-launcher: Reset idle time when our session becomes active
Created attachment 304099 [details] [review] backends/native: Reset idle time when resuming from suspend
Review of attachment 304098 [details] [review]: makes sense.
Review of attachment 304099 [details] [review]: does logind not take away / resume our session on suspend / resume? i swore it should. i wish there was a better api than this, but ok if not.
(In reply to Jasper St. Pierre from comment #4) > does logind not take away / resume our session on suspend / resume? > i swore it should. I just double checked and, no, we don't get session inactive/active notifications from logind when suspending/resuming so, pushing both patches. e4e5e5a..843c9b3 gnome-3-16 -> gnome-3-16 8d51a9d..b62db40 master -> master Attachment 304098 [details] pushed as 90a28e7 - native/meta-launcher: Reset idle time when our session becomes active Attachment 304099 [details] pushed as b62db40 - backends/native: Reset idle time when resuming from suspend