dwm.h
author Anselm R. Garbe <garbeam@gmail.com>
Tue, 16 Oct 2007 19:04:49 +0200
changeset 1031 7216ff510041
parent 1029 2388a478f146
child 1033 a8efbb301ef4
permissions -rw-r--r--
cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1029
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
     1
/* See LICENSE file for copyright and license details. */
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
     2
#include <X11/Xlib.h>
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
     3
1031
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     4
/* enums */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     5
enum { BarTop, BarBot, BarOff };			/* bar position */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     6
enum { CurNormal, CurResize, CurMove, CurLast };	/* cursor */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     7
enum { ColBorder, ColFG, ColBG, ColLast };		/* color */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     8
enum { NetSupported, NetWMName, NetLast };		/* EWMH atoms */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
     9
enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    10
1029
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    11
/* typedefs */
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    12
typedef struct Client Client;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    13
struct Client {
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    14
	char name[256];
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    15
	int x, y, w, h;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    16
	int rx, ry, rw, rh; /* revert geometry */
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    17
	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    18
	int minax, maxax, minay, maxay;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    19
	long flags;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    20
	unsigned int border, oldborder;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    21
	Bool isbanned, isfixed, ismax, isfloating, wasfloating;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    22
	Bool *tags;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    23
	Client *next;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    24
	Client *prev;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    25
	Client *snext;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    26
	Window win;
2388a478f146 recreated dwm.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
diff changeset
    27
};
1031
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    28
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    29
typedef struct {
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    30
	int x, y, w, h;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    31
	unsigned long norm[ColLast];
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    32
	unsigned long sel[ColLast];
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    33
	Drawable drawable;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    34
	GC gc;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    35
	struct {
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    36
		int ascent;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    37
		int descent;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    38
		int height;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    39
		XFontSet set;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    40
		XFontStruct *xfont;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    41
	} font;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    42
} DC; /* draw context */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    43
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    44
typedef struct {
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    45
	unsigned long mod;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    46
	KeySym keysym;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    47
	void (*func)(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    48
	const char *arg;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    49
} Key;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    50
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    51
typedef struct {
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    52
	const char *symbol;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    53
	void (*arrange)(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    54
} Layout;
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    55
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    56
/* functions */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    57
void applyrules(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    58
void arrange(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    59
void attach(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    60
void attachstack(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    61
void ban(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    62
void buttonpress(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    63
void checkotherwm(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    64
void cleanup(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    65
void compileregs(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    66
void configure(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    67
void configurenotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    68
void configurerequest(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    69
void destroynotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    70
void detach(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    71
void detachstack(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    72
void drawbar(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    73
void drawsquare(Bool filled, Bool empty, unsigned long col[ColLast]);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    74
void drawtext(const char *text, unsigned long col[ColLast]);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    75
void *emallocz(unsigned int size);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    76
void enternotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    77
void eprint(const char *errstr, ...);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    78
void expose(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    79
void floating(void); /* default floating layout */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    80
void focus(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    81
void focusnext(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    82
void focusprev(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    83
Client *getclient(Window w);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    84
unsigned long getcolor(const char *colstr);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    85
long getstate(Window w);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    86
Bool gettextprop(Window w, Atom atom, char *text, unsigned int size);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    87
void grabbuttons(Client *c, Bool focused);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    88
unsigned int idxoftag(const char *tag);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    89
void initfont(const char *fontstr);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    90
Bool isarrange(void (*func)());
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    91
Bool isoccupied(unsigned int t);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    92
Bool isprotodel(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    93
Bool isvisible(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    94
void keypress(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    95
void killclient(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    96
void leavenotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    97
void manage(Window w, XWindowAttributes *wa);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    98
void mappingnotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
    99
void maprequest(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   100
void movemouse(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   101
Client *nexttiled(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   102
void propertynotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   103
void quit(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   104
void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   105
void resizemouse(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   106
void restack(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   107
void run(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   108
void scan(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   109
void setclientstate(Client *c, long state);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   110
void setlayout(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   111
void setmwfact(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   112
void setup(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   113
void spawn(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   114
void tag(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   115
unsigned int textnw(const char *text, unsigned int len);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   116
unsigned int textw(const char *text);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   117
void tile(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   118
void togglebar(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   119
void togglefloating(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   120
void togglemax(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   121
void toggletag(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   122
void toggleview(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   123
void unban(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   124
void unmanage(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   125
void unmapnotify(XEvent *e);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   126
void updatebarpos(void);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   127
void updatesizehints(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   128
void updatetitle(Client *c);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   129
void view(const char *arg);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   130
void viewprevtag(const char *arg);	/* views previous selected tags */
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   131
int xerror(Display *dpy, XErrorEvent *ee);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   132
int xerrordummy(Display *dsply, XErrorEvent *ee);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   133
int xerrorstart(Display *dsply, XErrorEvent *ee);
7216ff510041 cleaned up dwm.c/dwm.h somewhat that it allows easier integration of patches
Anselm R. Garbe <garbeam@gmail.com>
parents: 1029
diff changeset
   134
void zoom(const char *arg);