diff options
Diffstat (limited to 'wm.h')
| -rw-r--r-- | wm.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -6,24 +6,24 @@ #define WINDOWS_MAX 15 typedef struct { - WINDOW *win; - char name[32]; - int height; - int width; - int start_x; - int start_y; + WINDOW *win; + char name[32]; + int height; + int width; + int start_x; + int start_y; } window; typedef struct { - window **windows; /* windows[0] is root_win */ - int w_count; /* index of windows */ - int maxy; - int maxx; + window **windows; /* windows[0] is root_win */ + int w_count; /* index of windows */ + int maxy; + int maxx; } terminal; terminal *wm_init(void); -window *wm_create_new_w(terminal *t, const char *name, int width, int height, - int start_y, int start_x); +window *wm_create_new_w(terminal *t, const char *name, int height, int width, + int start_y, int start_x); int wm_fd_w_by_name(terminal *t, const char *name); void wm_refresh_all(terminal *t); |
