… | |
… | |
715 | } |
715 | } |
716 | # endif |
716 | # endif |
717 | #endif |
717 | #endif |
718 | } |
718 | } |
719 | |
719 | |
720 | #ifdef UTMP_SUPPORT |
|
|
721 | void |
|
|
722 | rxvt_term::privileged_utmp (rxvt_privaction action) |
|
|
723 | { |
|
|
724 | if (OPTION (Opt_utmpInhibit)) |
|
|
725 | return; |
|
|
726 | |
|
|
727 | rxvt_privileges (RESTORE); |
|
|
728 | |
|
|
729 | if (action == SAVE) |
|
|
730 | pty->login (cmd_pid, OPTION (Opt_loginShell), rs[Rs_display_name]); |
|
|
731 | else |
|
|
732 | pty->logout (); |
|
|
733 | |
|
|
734 | rxvt_privileges (IGNORE); |
|
|
735 | } |
|
|
736 | #endif |
|
|
737 | |
|
|
738 | /*----------------------------------------------------------------------*/ |
720 | /*----------------------------------------------------------------------*/ |
739 | /* |
721 | /* |
740 | * window size/position calculcations for XSizeHint and other storage. |
722 | * window size/position calculcations for XSizeHint and other storage. |
741 | * if width/height are non-zero then override calculated width/height |
723 | * if width/height are non-zero then override calculated width/height |
742 | */ |
724 | */ |