projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.20.tar.gz
[xscreensaver]
/
driver
/
xscreensaver.h
diff --git
a/driver/xscreensaver.h
b/driver/xscreensaver.h
index 75b4ab42d9e5c53604ff95416e36e5afebbc250a..cd797d47593ae07d3f2b57a4c9e309da5bf12c88 100644
(file)
--- a/
driver/xscreensaver.h
+++ b/
driver/xscreensaver.h
@@
-87,6
+87,9
@@
struct saver_info {
Bool fading_possible_p; /* Whether fading to/from black is possible. */
Bool throttled_p; /* Whether we should temporarily just blank
the screen, not run hacks. */
Bool fading_possible_p; /* Whether fading to/from black is possible. */
Bool throttled_p; /* Whether we should temporarily just blank
the screen, not run hacks. */
+ time_t blank_time; /* The time at which the screen was blanked
+ (if currently blanked) or unblanked (if
+ not blanked.) */
/* =======================================================================
/* =======================================================================
@@
-115,6
+118,12
@@
struct saver_info {
int unlock_failures; /* Counts failed login attempts while the
screen is locked. */
int unlock_failures; /* Counts failed login attempts while the
screen is locked. */
+ char *unlock_typeahead; /* If the screen is locked, and the user types
+ a character, we assume that it is the first
+ character of the password. It's stored here
+ for the password dialog to use to populate
+ itself. */
+
/* =======================================================================
demoing
/* =======================================================================
demoing
@@
-306,6
+315,7
@@
extern Bool lock_init (int argc, char **argv, Bool verbose_p);
extern Bool passwd_valid_p (const char *typed_passwd, Bool verbose_p);
#endif /* NO_LOCKING */
extern Bool passwd_valid_p (const char *typed_passwd, Bool verbose_p);
#endif /* NO_LOCKING */
+extern void set_locked_p (saver_info *si, Bool locked_p);
extern int move_mouse_grab (saver_info *si, Window to, Cursor cursor);
extern int move_mouse_grab (saver_info *si, Window to, Cursor cursor);
@@
-364,6
+374,7
@@
extern void suspend_screenhack (saver_info *si, Bool suspend_p);
extern Bool screenhack_running_p (saver_info *si);
extern void emergency_kill_subproc (saver_info *si);
extern Bool select_visual (saver_screen_info *ssi, const char *visual_name);
extern Bool screenhack_running_p (saver_info *si);
extern void emergency_kill_subproc (saver_info *si);
extern Bool select_visual (saver_screen_info *ssi, const char *visual_name);
+extern void store_saver_status (saver_info *si);
extern const char *signal_name (int signal);
/* =======================================================================
extern const char *signal_name (int signal);
/* =======================================================================
@@
-394,7
+405,7
@@
extern Bool display_is_on_console_p (saver_info *si);
extern Atom XA_VROOT, XA_XSETROOT_ID;
extern Atom XA_SCREENSAVER, XA_SCREENSAVER_VERSION, XA_SCREENSAVER_ID;
extern Atom XA_VROOT, XA_XSETROOT_ID;
extern Atom XA_SCREENSAVER, XA_SCREENSAVER_VERSION, XA_SCREENSAVER_ID;
-extern Atom XA_SCREENSAVER_
TIME
;
+extern Atom XA_SCREENSAVER_
STATUS, XA_LOCK, XA_BLANK
;
extern Atom XA_DEMO, XA_PREFS;
#endif /* __XSCREENSAVER_H__ */
extern Atom XA_DEMO, XA_PREFS;
#endif /* __XSCREENSAVER_H__ */