X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=driver%2Fxscreensaver.h;h=58f5214efb6319bcf572d8365a4c0189369badbb;hb=c596d1306f5f92f7eab76224d3b049980a14adcb;hp=75b4ab42d9e5c53604ff95416e36e5afebbc250a;hpb=278c59e14c53fd412b734e699bd4f314f766f804;p=xscreensaver diff --git a/driver/xscreensaver.h b/driver/xscreensaver.h index 75b4ab42..58f5214e 100644 --- a/driver/xscreensaver.h +++ b/driver/xscreensaver.h @@ -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);