MIT-SCREEN-SAVER ScreenSaverQueryInfo() til-or-since negative after ForceScreenSaver()
Submitted by Kevin Ryde
Assigned to Xorg Project Team
Description
Created attachment 85839 program printing til-or-since after ForceScreenSaver
In recent Debian i386 xvfb 1.12.4, if the screen saver is turned on programatically with ForceScreenSaver then the "til-or-since" field of MIT-SCREEN-SAVER ScreenSaverQueryInfo is some apparent negative value.
The program foo.c attached prints
state 1
til_or_since 4294369575 (or as signed -597721)
where I expected til_or_since would be some small positive value, being the short time since ForceScreenSaver turned on the saver.
Is that the way til-or-since is supposed to work? It's CARD32 in the the spec and proto.h, and "unsigned long" in the Xlib bindings, so I would think it ought not be an apparent twos-complement negative like 4294369575.
Attachment 85839, "program printing til-or-since after ForceScreenSaver":
foo.c