diff options
| author | Amadeusz Sławiński <amade@asmblr.net> | 2013-10-21 16:28:18 +0200 |
|---|---|---|
| committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-26 12:00:52 +0200 |
| commit | 5ce7cd4396c588ba6a4afd602f16ea52fe2c536f (patch) | |
| tree | 6c74a782f6947760eaf7fd2b9280eda547dadc99 /src/window.h | |
| parent | 41cbd536e59188d890fbcbad6d0f80307e8a2dc4 (diff) | |
| download | screen-5ce7cd4396c588ba6a4afd602f16ea52fe2c536f.tar.gz | |
remove fwddecl.h
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/window.h b/src/window.h index ac08649..6c52bda 100644 --- a/src/window.h +++ b/src/window.h @@ -33,8 +33,6 @@ #ifndef SCREEN_WINDOW_H #define SCREEN_WINDOW_H -#include "fwddecl.h" - /* keep this in sync with the initialisations in window.c */ struct NewWindow { int StartAt; /* where to start the search for the slot */ @@ -127,20 +125,21 @@ struct paster { Event pa_slowev; /* slowpaste event */ }; -typedef struct Window { +typedef struct Window Window; +struct Window { Window *w_next; /* next window */ int w_type; /* type of window */ Layer w_layer; /* our layer */ Layer *w_savelayer; /* the layer to keep */ int w_blocked; /* block input */ struct pseudowin *w_pwin; /* ptr to pseudo */ - Display *w_pdisplay; /* display for printer relay */ - Display *w_lastdisp; /* where the last input was made */ + Display *w_pdisplay; /* display for printer relay */ + Display *w_lastdisp; /* where the last input was made */ int w_number; /* window number */ Event w_readev; Event w_writeev; - Event w_silenceev; /* silence event */ - Event w_zombieev; /* event to try to resurrect window */ + Event w_silenceev; /* silence event */ + Event w_zombieev; /* event to try to resurrect window */ int w_poll_zombie_timeout; int w_ptyfd; /* fd of the master pty */ char w_inbuf[IOSIZE]; @@ -248,7 +247,7 @@ typedef struct Window { Event w_telconnev; #endif struct { - int on; /* Is the alternate buffer currently being used? */ + int on; /* Is the alternate buffer currently being used? */ struct mline *mlines; int width; int height; @@ -258,7 +257,7 @@ typedef struct Window { struct cursor cursor; } w_alt; - Event w_destroyev; /* window destroy event */ + Event w_destroyev; /* window destroy event */ int w_exitstatus; int w_miflag; }; |
