diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-17 09:12:29 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-17 09:12:29 +0200 |
| commit | bf357945070a9f4722b8dcbf61d61b34d1aae0aa (patch) | |
| tree | 042634c777b10f3689d9aa530db54dddaa14cf12 /dwm.h | |
| parent | slight change to dwm.1 (diff) | |
| download | dwm-bf357945070a9f4722b8dcbf61d61b34d1aae0aa.tar.gz dwm-bf357945070a9f4722b8dcbf61d61b34d1aae0aa.zip | |
ordered variables in structs and source files alphabetically
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 38 |
1 files changed, 18 insertions, 20 deletions
| @@ -37,28 +37,28 @@ union Arg { | |||
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | /* atoms */ | 39 | /* atoms */ |
| 40 | enum { WMProtocols, WMDelete, WMLast }; | ||
| 41 | enum { NetSupported, NetWMName, NetLast }; | 40 | enum { NetSupported, NetWMName, NetLast }; |
| 41 | enum { WMProtocols, WMDelete, WMLast }; | ||
| 42 | 42 | ||
| 43 | /* cursor */ | 43 | /* cursor */ |
| 44 | enum { CurNormal, CurResize, CurMove, CurInput, CurLast }; | 44 | enum { CurNormal, CurResize, CurMove, CurLast }; |
| 45 | 45 | ||
| 46 | struct Fnt { | 46 | struct Fnt { |
| 47 | XFontStruct *xfont; | ||
| 48 | XFontSet set; | ||
| 49 | int ascent; | 47 | int ascent; |
| 50 | int descent; | 48 | int descent; |
| 51 | int height; | 49 | int height; |
| 50 | XFontSet set; | ||
| 51 | XFontStruct *xfont; | ||
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | struct DC { /* draw context */ | 54 | struct DC { /* draw context */ |
| 55 | GC gc; | ||
| 56 | Drawable drawable; | ||
| 57 | int x, y, w, h; | 55 | int x, y, w, h; |
| 58 | Fnt font; | ||
| 59 | unsigned long bg; | 56 | unsigned long bg; |
| 60 | unsigned long fg; | 57 | unsigned long fg; |
| 61 | unsigned long border; | 58 | unsigned long border; |
| 59 | Drawable drawable; | ||
| 60 | Fnt font; | ||
| 61 | GC gc; | ||
| 62 | }; | 62 | }; |
| 63 | 63 | ||
| 64 | struct Client { | 64 | struct Client { |
| @@ -72,10 +72,10 @@ struct Client { | |||
| 72 | unsigned int border; | 72 | unsigned int border; |
| 73 | long flags; | 73 | long flags; |
| 74 | Bool isfloat; | 74 | Bool isfloat; |
| 75 | Window win; | ||
| 76 | Window title; | ||
| 77 | Client *next; | 75 | Client *next; |
| 78 | Client *revert; | 76 | Client *revert; |
| 77 | Window win; | ||
| 78 | Window title; | ||
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | struct Rule { | 81 | struct Rule { |
| @@ -92,20 +92,18 @@ struct Key { | |||
| 92 | Arg arg; | 92 | Arg arg; |
| 93 | }; | 93 | }; |
| 94 | 94 | ||
| 95 | extern Display *dpy; | 95 | extern char *tags[TLast], stext[1024]; |
| 96 | extern Window root, barwin; | 96 | extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; |
| 97 | extern Atom wmatom[WMLast], netatom[NetLast]; | ||
| 98 | extern Cursor cursor[CurLast]; | ||
| 99 | extern Bool running, issel; | ||
| 100 | extern void (*handler[LASTEvent])(XEvent *); | 97 | extern void (*handler[LASTEvent])(XEvent *); |
| 101 | extern void (*arrange)(Arg *); | 98 | extern void (*arrange)(Arg *); |
| 102 | extern Key key[]; | 99 | extern Atom wmatom[WMLast], netatom[NetLast]; |
| 103 | 100 | extern Bool running, issel; | |
| 104 | extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh, mw; | ||
| 105 | extern char *tags[TLast], stext[1024]; | ||
| 106 | |||
| 107 | extern DC dc; | ||
| 108 | extern Client *clients, *sel; | 101 | extern Client *clients, *sel; |
| 102 | extern Cursor cursor[CurLast]; | ||
| 103 | extern DC dc; | ||
| 104 | extern Display *dpy; | ||
| 105 | extern Key key[]; | ||
| 106 | extern Window root, barwin; | ||
| 109 | 107 | ||
| 110 | /* client.c */ | 108 | /* client.c */ |
| 111 | extern void ban(Client *c); | 109 | extern void ban(Client *c); |
