about summary refs log tree commit diff stats
path: root/main.c
Commit message (Expand)AuthorAgeFilesLines
* removed sendeventAnselm R. Garbe2007-02-261-14/+0
* replaced Arg union with const char *arg, seems cleaner to me, even if we need...Anselm R. Garbe2007-02-221-1/+1
* several changes, made togglemax extern and separated it from zoom() - moved z...Anselm R. Garbe2007-02-221-1/+1
* just ignore the FD_ISSET check in main.c of xfd, just call XPending (which do...Anselm R. Garbe2007-02-211-6/+5
* reverted accidental removal of sx, syAnselm R. Garbe2007-02-211-4/+5
* removed some global vars which should be static insteadAnselm R. Garbe2007-02-211-6/+5
* renamed setfont to initfont, getcolor to initcolorAnselm R. Garbe2007-02-201-29/+29
* added draw.c again (except getcolor and setfont which are helpers in main.c)Anselm R. Garbe2007-02-201-128/+0
* separating drawsquare from drawtext, made drawtext externAnselm R. Garbe2007-02-201-49/+63
* using eprint instead of fputsAnselm R. Garbe2007-02-191-6/+3
* introduced Layout structAnselm R. Garbe2007-02-191-6/+6
* removed procevent, more refactoringAnselm R. Garbe2007-02-191-2/+6
* draw.c is useless (belongs to main.c now)Anselm R. Garbe2007-02-191-0/+165
* some more refactoringAnselm R. Garbe2007-02-191-3/+1
* introduced tile.c, some refactoring of functionsAnselm R. Garbe2007-02-191-1/+1
* removed ugly ban(), extended resize() that it only resets the size if necessa...Anselm R. Garbe2007-02-161-1/+2
* made for/if/else constructs more consistent, some code polishingAnselm R. Garbe2007-02-141-6/+5
* pneubeck pointed out an obvious thing, that a second p = stext + strlen(stext...Anselm R. Garbe2007-02-091-1/+1
* fixed order of Bool declarationsAnselm R. Garbe2007-02-081-1/+1
* added TOPBAR option for making the bar appear what the user likesAnselm R. Garbe2007-02-081-3/+3
* making the bar appear at bottomAnselm R. Garbe2007-02-081-2/+2
* replaced getproto with a saner function, now old-school artifacts of WM times...Anselm R. Garbe2007-02-071-18/+0
* handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle...Anselm R. Garbe2007-01-281-0/+1
* renamed activescreen into selscreen 3.2Anselm R. Garbe2007-01-231-2/+2
* small changesAnselm R. Garbe2007-01-231-2/+2
* applied Sanders all5.patch (thanks for your weekend session, Sander!)Anselm R. Garbe2007-01-221-1/+1
* removed unnecessary bx, by, bw variablesAnselm R. Garbe2007-01-161-5/+2
* implemented new color scheme accordingly to Sanders proposalAnselm R. Garbe2007-01-141-2/+2
* removed mode label stuffAnselm R. Garbe2007-01-141-2/+2
* small fix of initial numlockmask valueAnselm R. Garbe2007-01-111-0/+1
* reorganizedAnselm R. Garbe2007-01-081-2/+1
* implemented nmaster appearance in mode label (using %u)Anselm R. Garbe2007-01-081-2/+3
* experimental version which allows master clients being increased/decreasedAnselm R. Garbe2007-01-051-1/+2
* changed arg's color schemearg@mig292007-01-021-3/+3
* correctionsarg@mig292007-01-021-2/+2
* next version will contain updated copyright noticearg@mig292007-01-021-2/+2
* fixed cleanup, using clients instead of sel 2.8arg@mig292007-01-021-3/+3
* with this patch everything works fine for mearg@mig292006-12-071-0/+2
* improved the memory leak preventionarg@mig292006-12-061-1/+4
* applied Jukka's patch preventing some cornercases and making the EOF error me...arg@mig292006-11-271-1/+2
* applied yet another proposal of Manuelarg@mig292006-11-261-2/+2
* applied Jukka's sizeof K&R compliance patch, applied Manuels' last-line print...arg@mig292006-11-261-6/+8
* applied Jukka's stdinread patcharg@mig292006-11-261-2/+3
* applied Manuels patch (thanks to Manuel!)arg@mig292006-11-251-14/+21
* applied Gottox patchesarg@mig292006-11-211-2/+3
* applied Gottox' windowarea patcharg@mig292006-11-161-1/+6
* code polishing, removed unnecessary newlinesAnselm R. Garbe2006-10-061-21/+9
* removed the stack position stuffAnselm R. Garbe2006-10-051-4/+1
* keep master ratio on resizecol -> arrangeAnselm R. Garbe2006-10-051-3/+3
* added symbols for different modesAnselm R. Garbe2006-09-291-2/+5
s="p">; int *x, *y, *w, *h; /* current geom */ int bx, by, bw, bh; /* title bar */ int fx, fy, fw, fh; /* floating geom */ int tx, ty, tw, th; /* tiled geom */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; int grav; unsigned int border; long flags; Bool isfloat; Client *next; Client *revert; Window win; Window title; }; struct Rule { const char *class; const char *instance; char *tags[TLast]; Bool isfloat; }; struct Key { unsigned long mod; KeySym keysym; void (*func)(Arg *arg); Arg arg; }; 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 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); extern void focus(Client *c); extern void focusnext(Arg *arg); extern void focusprev(Arg *arg); extern Client *getclient(Window w); extern Client *getctitle(Window w); extern void gravitate(Client *c, Bool invert); extern void higher(Client *c); extern void killclient(Arg *arg); extern void lower(Client *c); extern void manage(Window w, XWindowAttributes *wa); extern void maximize(Arg *arg); extern void pop(Client *c); extern void resize(Client *c, Bool inc, Corner sticky); extern void setgeom(Client *c); extern void setsize(Client *c); extern void settitle(Client *c); extern void unmanage(Client *c); extern void zoom(Arg *arg); /* draw.c */ extern void drawall(); extern void drawstatus(); extern void drawtitle(Client *c); extern unsigned long getcolor(const char *colstr); extern void setfont(const char *fontstr); extern unsigned int textw(char *text); /* event.c */ extern void grabkeys(); /* main.c */ extern int getproto(Window w); extern void quit(Arg *arg); extern void sendevent(Window w, Atom a, long value); extern int xerror(Display *dsply, XErrorEvent *ee); /* tag.c */ extern void appendtag(Arg *arg); extern void dofloat(Arg *arg); extern void dotile(Arg *arg); extern Client *getnext(Client *c, unsigned int t); extern void heretag(Arg *arg); extern void replacetag(Arg *arg); extern void settags(Client *c); extern void view(Arg *arg); /* util.c */ extern void *emallocz(unsigned int size); extern void eprint(const char *errstr, ...); extern void spawn(Arg *arg);