aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/dvtm/dvtm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/dvtm/dvtm.h')
-rw-r--r--sys/cmd/dvtm/dvtm.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/cmd/dvtm/dvtm.h b/sys/cmd/dvtm/dvtm.h
index f89f517..a777e18 100644
--- a/sys/cmd/dvtm/dvtm.h
+++ b/sys/cmd/dvtm/dvtm.h
@@ -19,11 +19,9 @@
#include "vt.h"
/* types */
-typedef struct Term Term;
-typedef struct Screen Screen;
typedef struct Layout Layout;
-typedef struct Window Window;
typedef struct Client Client;
+typedef struct Screen Screen;
typedef struct Cmd Cmd;
typedef struct CmdFifo CmdFifo;
@@ -36,7 +34,6 @@ typedef struct StatusBar StatusBar;
struct Screen
{
- Term *backend;
float mfact;
uint nmaster;
int history;
@@ -52,7 +49,7 @@ struct Layout
struct Client
{
- Window *window;
+ WINDOW *window;
Vt *term;
Vt *editor, *app;
/* meta data */
@@ -72,7 +69,6 @@ struct Client
uint tags;
};
-#if 0
typedef struct {
int fg;
int bg;
@@ -86,7 +82,6 @@ typedef struct {
attr_t attrs;
Color *color;
} ColorRule;
-#endif
#define ALT(k) ((k) + (161 - 'a'))