This commit is contained in:
Nishi 2025-12-04 06:45:45 +09:00
commit 6b05ca3263
Signed by: nishi
GPG key ID: 27EF69B208EB9343
7 changed files with 416 additions and 3 deletions

33
milkwm/milkwm.h Normal file
View file

@ -0,0 +1,33 @@
#ifndef __MILKWM_H__
#define __MILKWM_H__
#include "config.h"
/* Milsko */
#include <MDE/Foundation.h>
#include <Mw/Milsko.h>
/* External */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
/* Standard */
#include <pthread.h>
#define TitleBarHeight 16
/* xserver.c */
extern pthread_t xthread;
extern pthread_mutex_t xmutex;
extern Display* xdisplay;
int init_x(void);
void loop_x(void);
/* wm.c */
void loop_wm(void);
MwWidget wm_frame(int w, int h);
void wm_set_name(MwWidget widget, const char* name);
#endif