aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-17 09:12:29 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-17 09:12:29 +0200
commitbf357945070a9f4722b8dcbf61d61b34d1aae0aa (patch)
tree042634c777b10f3689d9aa530db54dddaa14cf12 /dwm.h
parente7438365417ba4bb0cff56b44b029c797be18fe5 (diff)
downloaddwm-bf357945070a9f4722b8dcbf61d61b34d1aae0aa.tar.gz
ordered variables in structs and source files alphabetically
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/dwm.h b/dwm.h
index 75aa50c..de88527 100644
--- a/dwm.h
+++ b/dwm.h
@@ -37,28 +37,28 @@ union Arg {
};
/* atoms */
-enum { WMProtocols, WMDelete, WMLast };
enum { NetSupported, NetWMName, NetLast };
+enum { WMProtocols, WMDelete, WMLast };
/* cursor */
-enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
+enum { CurNormal, CurResize, CurMove, CurLast };
struct Fnt {
- XFontStruct *xfont;
- XFontSet set;
int ascent;
int descent;
int height;
+ XFontSet set;
+ XFontStruct *xfont;
};
struct DC { /* draw context */
- GC gc;
- Drawable drawable;
int x, y, w, h;
- Fnt font;
unsigned long bg;
unsigned long fg;
unsigned long border;
+ Drawable drawable;
+ Fnt font;
+ GC gc;
};
struct Client {
@@ -72,10 +72,10 @@ struct Client {
unsigned int border;
long flags;
Bool isfloat;
- Window win;
- Window title;
Client *next;
Client *revert;
+ Window win;
+ Window title;
};
struct Rule {
@@ -92,20 +92,18 @@ struct Key {
Arg arg;
};
-extern Display *dpy;
-extern Window root, barwin;
-extern Atom wmatom[WMLast], netatom[NetLast];
-extern Cursor cursor[CurLast];
-extern Bool running, issel;
+extern char *tags[TLast], stext[1024];
+extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
extern void (*handler[LASTEvent])(XEvent *);
extern void (*arrange)(Arg *);
-extern Key key[];
-
-extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
-extern char *tags[TLast], stext[1024];
-
-extern DC dc;
+extern Atom wmatom[WMLast], netatom[NetLast];
+extern Bool running, issel;
extern Client *clients, *sel;
+extern Cursor cursor[CurLast];
+extern DC dc;
+extern Display *dpy;
+extern Key key[];
+extern Window root, barwin;
/* client.c */
extern void ban(Client *c);