handle signal

This commit is contained in:
Nishi 2025-12-17 02:42:44 +09:00
commit d2b48791c8
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 20 additions and 1 deletions

View file

@ -18,6 +18,7 @@
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <signal.h>
#define TitleBarHeight 16
#define Gap 1
@ -30,9 +31,11 @@ extern Display* xdisplay;
int init_x(void);
void loop_x(void);
void set_focus_x(MwWidget widget);
void set_background_x(void);
/* wm.c */
extern MwWidget root;
extern int wm_rehash;
void loop_wm(void);
MwWidget wm_frame(int w, int h);