summaryrefslogtreecommitdiff
path: root/mate-session/gs-idle-monitor.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-03updateWu Xiaotian1-2/+2
2021-06-22update copyright to 2021raveit651-0/+1
2019-12-21avoid redundant redeclarationsPablo Barciela1-2/+0
2018-11-26Avoid compile warning for g_type_class_add_privateyetist1-40/+34
Fixes the issue with GLib >= 2.58, list of modified files: - mate-session/gs-idle-monitor.c - mate-session/gs-idle-monitor.h
2015-12-13fix a typo in a warningMonsta1-2/+2
2014-11-07Fix usage of %lld for 64-bit formatsinfirit1-5/+5
Scott already did some work on this, update to how gnome-session handles this. Based on gnome-session commit: b2ad0abf2263b4af044388035df8993db9223a1b From: Owen W. Taylor <[email protected]>
2014-11-07gsm: Fix race condition in idle monitorinfirit1-0/+1
In _xsync_alarm_set(), the positive and negative transition intervals are set to the same value. However, the SYNC extension defines the positive transition as set when the counter goes from strictly below the threshold to greater than or equal to the threshold and similarly a negative transition is triggered when the counter goes form strictly greater than the threshold to less than or equal to the threshold. Thus in the current set up there's a chance that the positive transition can trigger, marking the session as idle, and some user input occur on the same click so the IDLETIME count will hit the threshold but not go above so the negative transition will not trigger. Thus the session will not be marked as active. The negative transition threshold should be set to 1ms less than the positive transition to ensure that it always fires. Based on gnome-session commit: 861313503a741f0129611ca005cf6d7c27124b54 From: Christopher Halse Rogers <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=627903
2012-11-13Fix all compile warnings.Scott Balneaves1-5/+5
2012-10-12fix incorrect FSF addressraveit651-1/+1
2012-01-30GDK_DISPLAY() is deprecatedPerberos1-19/+19
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+507