mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 18:38:00 +02:00
feat: add behavior.{source,user_source} for custom env
This commit is contained in:
3
src/ui.c
3
src/ui.c
@@ -10,6 +10,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
@@ -394,7 +395,7 @@ int load(struct Vector *users, struct Vector *sessions) {
|
||||
} else {
|
||||
if (len == 1 && *seq == '\n') {
|
||||
if (!launch(get_current_user().username, of_passwd.efield.content,
|
||||
get_current_session(), &restore_all)) {
|
||||
get_current_session(), &restore_all, &behavior)) {
|
||||
print_passwd(box_start(), of_passwd.efield.length, true);
|
||||
ffield_cursor_focus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user