add config.c

This commit is contained in:
Nishi 2025-11-16 11:27:50 +09:00
commit 10df6ece35
Signed by: nishi
GPG key ID: 27EF69B208EB9343
4 changed files with 6 additions and 3 deletions

1
mdm/config.c Normal file
View file

@ -0,0 +1 @@
#include "mdm.h"

View file

@ -2,7 +2,7 @@
#include <Mw/Milsko.h>
void make_login_window(void){
void login_window(void){
MwWidget window, pic, userlabel, usercombo, passlabel, passentry, mainsep, sesslabel, sesscombo, fieldsep, shutdown, reboot, ok;
MwLibraryInit();

View file

@ -34,5 +34,5 @@ int main(int argc, char** argv){
init_x();
make_login_window();
login_window();
}

View file

@ -1,11 +1,13 @@
#ifndef __MDM_H__
#define __MDM_H__
/* xserver.c */
int launch_x(void);
int x_width(void);
int x_height(void);
void init_x(void);
void make_login_window(void);
/* login.c */
void login_window(void);
#endif