Xsync alarm implementation
Xsync alarm implementation
- Subject: Xsync alarm implementation
- From: René J.V. Bertin <email@hidden>
- Date: Thu, 19 Nov 2015 14:49:16 +0100
Hi,
X11 provides a mechanism based on XSync alarms that allows one to be notified when there has been a given time without any user input events, and apparently without polling, at least at the application level:
https://quickgit.kde.org/?p=kidletime.git&a=blob&h=48081c43abc14f930ab2c426b040fa123807f37c&f=src/plugins/xsync/xsyncbasedpoller.cpp&o=plain
I'm guessing someone here must know how those alarms are implemented in XQuartz, and also to what extent it is feasible to obtain the same kind of notifications on OS X without resorting to some kind of polling of IOKit's HIDIdleTime property?
Thanks,
René
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden