http://ftp.x.org/contrib/applications/xscreensaver-3.19.tar.gz
[xscreensaver] / driver / xscreensaver.h
index 75b4ab42d9e5c53604ff95416e36e5afebbc250a..58f5214efb6319bcf572d8365a4c0189369badbb 100644 (file)
@@ -115,6 +115,12 @@ struct saver_info {
   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
@@ -306,6 +312,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 void set_locked_p (saver_info *si, Bool locked_p);
 extern int move_mouse_grab (saver_info *si, Window to, Cursor cursor);