Mercurial > MadButterfly
diff src/X_supp.h @ 83:ea758bb3bbe2
example
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 22 Aug 2008 00:12:04 +0800 |
parents | 3645e29e4986 |
children | 17e97e92b76e |
line wrap: on
line diff
--- a/src/X_supp.h Thu Aug 21 14:13:50 2008 +0800 +++ b/src/X_supp.h Fri Aug 22 00:12:04 2008 +0800 @@ -2,6 +2,7 @@ #define __X_SUPP_H_ #include <X11/Xlib.h> +#include "mb_types.h" #include "mb_timer.h" #include "redraw_man.h" @@ -15,11 +16,12 @@ redraw_man_t *rdman; mb_tman_t *tman; int w, h; + + /* States */ + shape_t *last; }; -extern void X_MB_handle_connection(Display *display, - redraw_man_t *rdman, - mb_tman_t *tman); +extern void X_MB_handle_connection(X_MB_runtime_t *rt); extern int X_MB_init(const char *display_name, int w, int h, X_MB_runtime_t *xmb_rt); extern void X_MB_destroy(X_MB_runtime_t *xmb_rt);