diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
| commit | 338c0838580b32f1258a800392d93cf973baf1e6 (patch) | |
| tree | 30387958f30336d7617f63a085128cbe40651d2f /dwm.h | |
| parent | hahaha, untiled and non-untiled sounded really cumbersome (diff) | |
| download | dwm-338c0838580b32f1258a800392d93cf973baf1e6.tar.gz dwm-338c0838580b32f1258a800392d93cf973baf1e6.zip | |
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -50,7 +50,7 @@ struct Client { | |||
| 50 | int minax, minay, maxax, maxay; | 50 | int minax, minay, maxax, maxay; |
| 51 | long flags; | 51 | long flags; |
| 52 | unsigned int border; | 52 | unsigned int border; |
| 53 | Bool isbanned, isfixed, ismax, isuntiled; | 53 | Bool isbanned, isfixed, ismax, isfloating; |
| 54 | Bool *tags; | 54 | Bool *tags; |
| 55 | Client *next; | 55 | Client *next; |
| 56 | Client *prev; | 56 | Client *prev; |
| @@ -103,7 +103,7 @@ extern void killclient(const char *arg); /* kill c nicely */ | |||
| 103 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 103 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
| 104 | extern void resize(Client *c, int x, int y, | 104 | extern void resize(Client *c, int x, int y, |
| 105 | int w, int h, Bool sizehints); /* resize with given coordinates c*/ | 105 | int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
| 106 | extern void toggletiled(const char *arg); /* toggles focused client between tiled/untiled state */ | 106 | extern void togglefloating(const char *arg); /* toggles focused client between floating/tiled state */ |
| 107 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ | 107 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
| 108 | extern void updatetitle(Client *c); /* update the name of c */ | 108 | extern void updatetitle(Client *c); /* update the name of c */ |
| 109 | extern void unmanage(Client *c); /* destroy c */ | 109 | extern void unmanage(Client *c); /* destroy c */ |
| @@ -117,6 +117,7 @@ extern unsigned int textw(const char *text); /* return the width of text in px*/ | |||
| 117 | extern void grabkeys(void); /* grab all keys defined in config.h */ | 117 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 118 | 118 | ||
| 119 | /* layout.c */ | 119 | /* layout.c */ |
| 120 | extern void floating(void); /* arranges all windows floating */ | ||
| 120 | extern void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ | 121 | extern void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
| 121 | extern void incmasterw(const char *arg); /* increments the master width with arg's index value */ | 122 | extern void incmasterw(const char *arg); /* increments the master width with arg's index value */ |
| 122 | extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ | 123 | extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
| @@ -124,8 +125,7 @@ extern void initlayouts(void); /* initialize layout array */ | |||
| 124 | extern Client *nexttiled(Client *c); /* returns tiled successor of c */ | 125 | extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
| 125 | extern void restack(void); /* restores z layers of all clients */ | 126 | extern void restack(void); /* restores z layers of all clients */ |
| 126 | extern void setlayout(const char *arg); /* sets layout, -1 toggles */ | 127 | extern void setlayout(const char *arg); /* sets layout, -1 toggles */ |
| 127 | extern void togglemax(const char *arg); /* toggles maximization of untiled client */ | 128 | extern void togglemax(const char *arg); /* toggles maximization of floating client */ |
| 128 | extern void untile(void); /* arranges all windows untiled */ | ||
| 129 | extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ | 129 | extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ |
| 130 | 130 | ||
| 131 | /* main.c */ | 131 | /* main.c */ |
