equal
deleted
inserted
replaced
65 int rx, ry, rw, rh; /* revert geometry */ |
65 int rx, ry, rw, rh; /* revert geometry */ |
66 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
66 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
67 int minax, minay, maxax, maxay; |
67 int minax, minay, maxax, maxay; |
68 long flags; |
68 long flags; |
69 unsigned int border; |
69 unsigned int border; |
70 Bool isbanned, isfixed, ismax, isversatile; |
70 Bool isbanned, isfixed, ismax, isuntiled; |
71 Bool *tags; |
71 Bool *tags; |
72 Client *next; |
72 Client *next; |
73 Client *prev; |
73 Client *prev; |
74 Client *snext; |
74 Client *snext; |
75 Window win; |
75 Window win; |
103 extern void focus(Client *c); /* focus c, c may be NULL */ |
103 extern void focus(Client *c); /* focus c, c may be NULL */ |
104 extern void killclient(const char *arg); /* kill c nicely */ |
104 extern void killclient(const char *arg); /* kill c nicely */ |
105 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
105 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
106 extern void resize(Client *c, int x, int y, |
106 extern void resize(Client *c, int x, int y, |
107 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
107 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
108 extern void toggleversatile(const char *arg); /* toggles focused client between versatile/and non-versatile state */ |
108 extern void toggletiled(const char *arg); /* toggles focused client between tiled/untiled state */ |
109 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
109 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
110 extern void updatetitle(Client *c); /* update the name of c */ |
110 extern void updatetitle(Client *c); /* update the name of c */ |
111 extern void unmanage(Client *c); /* destroy c */ |
111 extern void unmanage(Client *c); /* destroy c */ |
112 |
112 |
113 /* draw.c */ |
113 /* draw.c */ |
124 extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
124 extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
125 extern void initlayouts(void); /* initialize layout array */ |
125 extern void initlayouts(void); /* initialize layout array */ |
126 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
126 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
127 extern void restack(void); /* restores z layers of all clients */ |
127 extern void restack(void); /* restores z layers of all clients */ |
128 extern void setlayout(const char *arg); /* sets layout, -1 toggles */ |
128 extern void setlayout(const char *arg); /* sets layout, -1 toggles */ |
129 extern void togglemax(const char *arg); /* toggles maximization of versatile client */ |
129 extern void togglemax(const char *arg); /* toggles maximization of untiled client */ |
130 extern void versatile(void); /* arranges all windows versatile */ |
130 extern void untile(void); /* arranges all windows untiled */ |
131 extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ |
131 extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ |
132 |
132 |
133 /* main.c */ |
133 /* main.c */ |
134 extern void quit(const char *arg); /* quit dwm nicely */ |
134 extern void quit(const char *arg); /* quit dwm nicely */ |
135 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
135 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |