aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
commit2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch)
treed58d24853f77685588e42f73a01d782980a3b95e /dwm.h
parentb5eea45a316a897632578a74c909aa336557b1d6 (diff)
downloaddwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.zst
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/dwm.h b/dwm.h
index d20cf32..c2f1e7e 100644
--- a/dwm.h
+++ b/dwm.h
@@ -76,7 +76,7 @@ typedef struct {
typedef struct {
const char *symbol;
- void (*arrange)(const char *);
+ void (*arrange)(void);
} Layout;
extern const char *tags[]; /* all tags */
@@ -120,15 +120,12 @@ unsigned int textw(const char *text); /* return the width of text in px*/
void grabkeys(void); /* grab all keys defined in config.h */
/* layout.c */
-void floating(const char *arg); /* arranges all windows floating */
void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */
void initlayouts(void); /* initialize layout array */
Client *nexttiled(Client *c); /* returns tiled successor of c */
void restack(void); /* restores z layers of all clients */
void setlayout(const char *arg); /* sets layout, NULL means next layout */
void togglebar(const char *arg); /* shows/hides the bar */
-void togglemax(const char *arg); /* toggles maximization of floating client */
-void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */
/* main.c */
void updatebarpos(void); /* updates the bar position */