X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=a556b73041ff94475ad9f2a35e0c5234ce638fe0;hb=587100873a66e34251041678504a8c1e28410591;hp=9e04a81c9c5d370718f95525266adf555d74bc38;hpb=12d5a26fd279cc2370954929dedf88d0ab205a16;p=dwm.git diff --git a/dwm.h b/dwm.h index 9e04a81..a556b73 100644 --- a/dwm.h +++ b/dwm.h @@ -67,7 +67,7 @@ struct Client { int minax, minay, maxax, maxay; long flags; unsigned int border; - Bool isbanned, isfixed, ismax, isversatile; + Bool isbanned, isfixed, ismax, isuntiled; Bool *tags; Client *next; Client *prev; @@ -105,7 +105,7 @@ extern void killclient(const char *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, int x, int y, int w, int h, Bool sizehints); /* resize with given coordinates c*/ -extern void toggleversatile(const char *arg); /* toggles focused client between versatile/and non-versatile state */ +extern void toggletiled(const char *arg); /* toggles focused client between tiled/untiled state */ extern void updatesizehints(Client *c); /* update the size hint variables of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ @@ -119,16 +119,15 @@ extern unsigned int textw(const char *text); /* return the width of text in px*/ extern void grabkeys(void); /* grab all keys defined in config.h */ /* layout.c */ -extern void focusnext(const char *arg); /* focuses next visible client, arg is ignored */ -extern void focusprev(const char *arg); /* focuses previous visible client, arg is ignored */ +extern void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ extern void incmasterw(const char *arg); /* increments the master width with arg's index value */ extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ extern void initlayouts(void); /* initialize layout array */ extern Client *nexttiled(Client *c); /* returns tiled successor of c */ extern void restack(void); /* restores z layers of all clients */ extern void setlayout(const char *arg); /* sets layout, -1 toggles */ -extern void togglemax(const char *arg); /* toggles maximization of versatile client */ -extern void versatile(void); /* arranges all windows versatile */ +extern void togglemax(const char *arg); /* toggles maximization of untiled client */ +extern void untile(void); /* arranges all windows untiled */ extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ /* main.c */