about summary refs log tree commit diff stats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* applied Sanders resize patch, fixed lower bugarg@10ksloc.org2006-07-191-1/+1
|
* implemened distinguishing float/managed geometries of clients (works quite well)Anselm R. Garbe2006-07-181-0/+1
|
* using EXIT_stuff in exit() nowAnselm R. Garbe2006-07-181-5/+4
|
* ordered variables in structs and source files alphabeticallyAnselm R. Garbe2006-07-171-20/+18
|
* fixed XSync handling and finished man pageAnselm R. Garbe2006-07-151-1/+1
|
* changing XFlush into XSyncAnselm R. Garbe2006-07-151-2/+2
|
* sanitized other stuffAnselm R. Garbe2006-07-151-13/+12
|
* proceeded with cleaning up, sorting functions, etcAnselm R. Garbe2006-07-151-42/+29
|
* rearranged several stuffAnselm R. Garbe2006-07-151-56/+56
|
* sanitized namesAnselm R. Garbe2006-07-141-14/+14
|
* rearrangedAnselm R. Garbe2006-07-141-1/+1
|
* if stdin writer stops working, dwm consumed much IO load because it still ↵Anselm R. Garbe2006-07-141-3/+7
| | | | tried to select on this fd, fixed
* removed a bottleneckAnselm R. Garbe2006-07-141-6/+8
|
* small fixAnselm R. Garbe2006-07-141-1/+1
|
* made stdin reader more robustAnselm R. Garbe2006-07-141-5/+13
|
* implemented dwm reading status text from stdin Anselm R. Garbe2006-07-141-6/+28
|
* made barclick to select the specific tagAnselm R. Garbe2006-07-141-1/+1
|
* implemented bar for dwm (I miss status text), I plan that status text is ↵Anselm R. Garbe2006-07-141-13/+28
| | | | read from stdin in dwm
* fixed several things, nearly feature completeAnselm R. Garbe2006-07-131-1/+1
|
* new stuffAnselm R. Garbe2006-07-131-2/+2
|
* several other additions/fixes, dwm is quite usable alreadyAnselm R. Garbe2006-07-131-5/+6
|
* implemented tagging a clientAnselm R. Garbe2006-07-131-5/+6
|
* changed default colorsAnselm R. Garbe2006-07-131-0/+274
span class="k">if(font->set) XFreeFontSet(blitz->dpy, font->set); font->set = XCreateFontSet(blitz->dpy, fontname, &missing, &n, &def); if(missing) { while(n--) fprintf(stderr, "liblitz: missing fontset: %s\n", missing[n]); XFreeStringList(missing); if(font->set) { XFreeFontSet(blitz->dpy, font->set); font->set = nil; } } if(font->set) { XFontSetExtents *font_extents; XFontStruct **xfonts; char **font_names; unsigned int i; 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(blitz->dpy, font->xfont); font->xfont = nil; font->xfont = XLoadQueryFont(blitz->dpy, fontname); if (!font->xfont) { fontname = "fixed"; font->xfont = XLoadQueryFont(blitz->dpy, fontname); } if (!font->xfont) { fprintf(stderr, "%s", "liblitz: error, cannot load 'fixed' font\n"); exit(1); } font->ascent = font->xfont->ascent; font->descent = font->xfont->descent; } }