Peter Hutterer
06b87aa528
sync: if the idle time was reset, force alarms to trigger ( #70476 )
...
The time between the idle reset and the IdleTimeWakeupHandler to be called is
indeterminate. Clients with an PositiveTransition or NegativeTransition alarm
on a low threshold may miss an alarm.
Work around this by keeping a reset flag for each device. When the
WakeupHandler triggers and the reset flag is set, we force a re-calculation of
everything and pretend the current idle time is zero. Immediately after is the
next calculation with the real idle time.
Relatively reproducible test case: Set up a XSyncNegativeTransition alarm for
a threshold of 1 ms. May trigger, may not.
X.Org Bug 70476 <http://bugs.freedesktop.org/show_bug.cgi?id=70476 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2013-10-18 16:44:32 +10:00
..
.gitignore
atom.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
buildatoms
BuiltInAtoms
colormap.c
Fix formatting of address operators
2012-12-05 18:09:48 -06:00
cursor.c
dix: FIXES is not optional
2013-09-10 13:28:24 -04:00
devices.c
Merge remote-tracking branch 'whot/unreviewed'
2013-05-23 19:58:46 -06:00
dispatch.c
dix: Remove a dead parameter from DoGetImage
2013-09-10 13:28:23 -04:00
dispatch.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixfonts.c
dix: fix redundant redeclaration warnings in dixfont
2012-11-05 13:24:59 -06:00
dixutils.c
dix: delete all callbacks before reset
2013-05-08 09:27:30 +10:00
enterleave.c
input: drop FP1616 macro
2012-11-19 12:12:23 +10:00
enterleave.h
dix: Move DeviceFocusEvent from Xi into enterleave.c
2012-05-17 08:50:44 +10:00
eventconvert.c
dix: send the current axis value in DeviceChangedEvents ( #62321 )
2013-05-07 09:40:42 +10:00
events.c
sync: if the idle time was reset, force alarms to trigger ( #70476 )
2013-10-18 16:44:32 +10:00
extension.c
Use C99 designated initializers in dix Replies
2012-07-09 19:58:29 -07:00
ffs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gc.c
Fix up formatting of initializers for arrays of structs
2012-08-06 15:22:53 -07:00
getevents.c
dix: set the valuator mask to ensure XI 1.x events have data
2013-07-25 12:57:41 +10:00
globals.c
dix: provide accessor methods for the last device event time
2013-10-18 16:44:32 +10:00
glyphcurs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabs.c
Abstract cursor refcounting
2013-05-15 19:17:57 +10:00
initatoms.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
inpututils.c
input: calloc minimization for xi2mask_new
2013-10-14 11:07:37 +10:00
main.c
Allow DDX to provide a main()
2013-07-23 23:56:58 +01:00
Makefile.am
Allow DDX to provide a main()
2013-07-23 23:56:58 +01:00
pixmap.c
damage: Implicitly unregister on destroy
2013-09-10 14:28:09 -04:00
privates.c
dbe: Fold the window private private into the window private
2013-09-10 13:28:24 -04:00
property.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
protocol.txt
ptrveloc.c
dix: allow a ConstantDeceleration between 0 and 1 ( #66134 )
2013-07-17 14:27:26 +10:00
region.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
registry.c
dix: reset the registry before quitting
2013-05-07 09:41:02 +10:00
resource.c
dix: add reference count of the resource to ResourceSizeRec
2012-04-18 12:49:11 +03:00
selection.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
stubmain.c
Allow DDX to provide a main()
2013-07-23 23:56:58 +01:00
swaprep.c
Remove unneccesary casts from WriteToClient calls
2012-07-09 19:12:56 -07:00
swapreq.c
Use C99 designated initializers in dix Events
2012-07-09 22:52:30 -07:00
tables.c
Make indentation of dix/tables.c much more consistent and readable
2012-08-06 15:22:53 -07:00
touch.c
dix: check the xi2mask, not the grab type for touch listeners
2013-07-24 11:50:00 +10:00
window.c
dix: provide accessor methods for the last device event time
2013-10-18 16:44:32 +10:00
Xserver-dtrace.h.in
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00
Xserver.d
dix: add dtrace probes to input API
2012-03-22 11:33:42 +10:00