about summary refs log tree commit diff stats
path: root/dwm.h
Commit message (Collapse)AuthorAgeFilesLines
* using a global stack for focus recovery on arrange() - seems to work greatAnselm R. Garbe2006-09-071-1/+2
|
* moved transient_for tag inheritance to settagsAnselm R. Garbe2006-09-061-1/+1
|
* renamed resizetile into resizecolAnselm R. Garbe2006-09-051-1/+1
|
* s/growcol/resizetile/gAnselm R. Garbe2006-09-051-1/+1
|
* I really need column growing, now pushing upstreamAnselm R. Garbe2006-09-051-0/+1
|
* applied Sanders max_and_focus.patchAnselm R. Garbe2006-09-041-2/+1
|
* added viewall to mainstream (only Ross Mohns version, not the toggle)Anselm R. Garbe2006-08-311-0/+1
|
* still something wrong with reorder()Anselm R. Garbe2006-08-291-2/+1
|
* added attach/detach functions which don't attach at the begin of list, but ↵Anselm R. Garbe2006-08-291-0/+2
| | | | at the slot of a first match of the tags of a client
* trying a different configurationAnselm R. Garbe2006-08-251-2/+2
|
* new color stuff/new rendering stuffAnselm R. Garbe2006-08-251-4/+7
|
* back to 3 colorsAnselm R. Garbe2006-08-251-2/+3
|
* 3->4 colorsAnselm R. Garbe2006-08-241-3/+2
|
* updated man pageAnselm R. Garbe2006-08-231-1/+1
|
* separated setup stuff into main.c:setup() - this makes main() more readableAnselm R. Garbe2006-08-231-12/+8
|
* separated several functions into view.cAnselm R. Garbe2006-08-221-10/+12
|
* changed main event loopAnselm R.Garbe2006-08-151-0/+1
|
* removed NUMLOCKMASK, added dynamically calculated numlockmask insteadAnselm R.Garbe2006-08-141-1/+1
|
* changed replacetag into toggletagAnselm R.Garbe2006-08-141-3/+3
|
* removed ungrabkeys again (because of sander's mail)Anselm R.Garbe2006-08-141-1/+0
|
* implemented ungrabkeys() which is called in cleanup()Anselm R.Garbe2006-08-141-0/+1
|
* implemented restack behavior (floats are on top in tiled mode)Anselm R.Garbe2006-08-141-1/+2
|
* removed viewnext/viewprevAnselm R.Garbe2006-08-141-2/+0
|
* made shortcuts like proposed by Sander, renamed viewextend to toggleview ↵Anselm R.Garbe2006-08-131-1/+1
| | | | (more clear)
* implemented viewextend and added M-S-C-n shortcuts for extending the current ↵Anselm R.Garbe2006-08-111-1/+2
| | | | view... updated man page (works great!) nice feature
* implement multi-tag selection through button3 click on the specific tagAnselm R.Garbe2006-08-111-2/+3
|
* readded border color, this sucks leastAnselm R.Garbe2006-08-101-0/+1
|
* removed unnecessary border colorAnselm R.Garbe2006-08-101-1/+0
|
* disallow zoom on maximized clientsAnselm R.Garbe2006-08-101-1/+0
|
* removed NET_ACTIVE_WINDOW handlingAnselm R.Garbe2006-08-081-1/+1
|
* implemented NET_ACTIVE_WINDOW supportAnselm R.Garbe2006-08-081-1/+1
|
* switched to regexp matching for Rulesarg@10ksloc.org2006-08-041-0/+1
|
* using execl now, argv changed, using cmd and const char defs directly in the ↵arg@10ksloc.org2006-08-041-1/+1
| | | | KEYS struct
* removed TLast tag enum, now tags is simple defined as char *[] array, the ↵arg@10ksloc.org2006-08-031-2/+3
| | | | rest is calculated correctly, rules take an int array for the tags
* changed Client->tags and Rule->tags to be Bool (I'll also try to remove the ↵arg@10ksloc.org2006-08-031-3/+4
| | | | TLast enum)
* removed the CONFIG variable from config.mk, renamed config.h into ↵arg@10ksloc.org2006-08-021-1/+1
| | | | config.default.h, after first clone/extract one needs to copy config.default.h to config.h, that is easier than always heavy typing make CONFIG=blafasel
* made fullscreen apps working fine in floating mode (there is no sane way to ↵arg@10ksloc.org2006-08-021-2/+2
| | | | make them work in tiled mode, thus I switch to floating mode if I run such kind of app), also fixed the xterm issue reported by Sander
* renamed WM_PROTOCOL_DELWIN into PROTODELWINarg@10ksloc.org2006-08-011-1/+1
|
* cleaned config.*h to prevent some confusionarg@10ksloc.org2006-08-011-2/+3
|
* uppercasing all define'd values (uppercase-prefixed should only be enum ↵arg@10ksloc.org2006-08-011-2/+2
| | | | field qualifiers)
* centralized/externalized configuration to config.harg@10ksloc.org2006-08-011-20/+1
|
* applied Jukkas prev/next patch with XK_{h,l}arg@10ksloc.org2006-08-011-0/+2
|
* applied Sanders patchesarg@10ksloc.org2006-08-011-2/+6
|
* committed a patch which fixes the hints of Jukkaarg@10ksloc.org2006-08-011-1/+1
|
* sanitization of several clunky stuff, removed heretag (rarely of use), ↵arg@10ksloc.org2006-07-211-12/+10
| | | | simplified pop(), changed shortcuts to always contain MODKEY
* applied sanders no_sizehints for tiled mode patch (thx!)arg@10ksloc.org2006-07-201-1/+1
|
* using double-linked list in order to get correct prev focus handlingarg@10ksloc.org2006-07-201-1/+2
|
* cleaned the CUSTOMIZE flagsarg@10ksloc.org2006-07-201-2/+2
|
* made status bar drawing more robust, implemented togglemax and togglemode, ↵arg@10ksloc.org2006-07-201-1/+3
| | | | works quite well
* removed c->f{x,y,w,h} and c->t{x,y,w,h} in favor for the new rule handling ↵arg@10ksloc.org2006-07-201-5/+2
| | | | remembering two kinds of geometries is unnecessary, removed the randomized (x,y) setting on dofloat startup, was kind too random und unpredictable
class="w"> *colstr) { XColor color; XAllocNamedColor(dpy, cmap, colstr, &color, &color); return color.pixel; } void initcolors(const char *bg, const char *fg, const char *border) { Colormap cmap = DefaultColormap(dpy, screen); dc.bg = xinitcolors(cmap, bg); dc.fg = xinitcolors(cmap, fg); dc.border = xinitcolors(cmap, border); } unsigned int textnw(Fnt *font, char *text, unsigned int len) { XRectangle r; if(font->set) { XmbTextExtents(font->set, text, len, NULL, &r); return r.width; } return XTextWidth(font->xfont, text, len); } unsigned int textw(Fnt *font, char *text) { return textnw(font, text, strlen(text)); } unsigned int texth(Fnt *font) { return font->height + 4; } void initfont(Fnt *font, const char *fontstr) { char **missing, *def; int i, n; missing = NULL; setlocale(LC_ALL, ""); if(font->set) XFreeFontSet(dpy, font->set); font->set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); if(missing) { while(n--) fprintf(stderr, "missing fontset: %s\n", missing[n]); XFreeStringList(missing); if(font->set) { XFreeFontSet(dpy, font->set); font->set = NULL; } } if(font->set) { XFontSetExtents *font_extents; XFontStruct **xfonts; char **font_names; font->ascent = font->descent = 0; font_extents = XExtentsOfFontSet(font->set); n = XFontsOfFontSet(font->set, &xfonts, &font_names); for(i = 0, font->ascent = 0, font->descent = 0; i < n; i++) { if(font->ascent < (*xfonts)->ascent) font->ascent = (*xfonts)->ascent; if(font->descent < (*xfonts)->descent) font->descent = (*xfonts)->descent; xfonts++; } } else { if(font->xfont) XFreeFont(dpy, font->xfont); font->xfont = NULL; font->xfont = XLoadQueryFont(dpy, fontstr); if (!font->xfont) font->xfont = XLoadQueryFont(dpy, "fixed"); if (!font->xfont) error("error, cannot init 'fixed' font\n"); font->ascent = font->xfont->ascent; font->descent = font->xfont->descent; } font->height = font->ascent + font->descent; }