about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* black on light is really better, I notice this after allAnselm R. Garbe2006-08-231-3/+3
|
* updated man pageAnselm R. Garbe2006-08-237-74/+69
|
* applied tag drawing change to man pageAnselm R. Garbe2006-08-231-4/+4
|
* implemented right tag drawing in the status bar and titlebarsAnselm R. Garbe2006-08-232-10/+23
|
* removed a blank lineAnselm R. Garbe2006-08-231-1/+0
|
* eliminated sentinel warningAnselm R. Garbe2006-08-231-1/+1
|
* small fix of man pageAnselm R. Garbe2006-08-231-1/+1
|
* implemented class:inst:title matchingAnselm R. Garbe2006-08-233-8/+8
|
* applied zero_to_five patchAnselm R. Garbe2006-08-231-5/+5
|
* tags appear in the left againAnselm R. Garbe2006-08-231-5/+5
|
* separated setup stuff into main.c:setup() - this makes main() more readableAnselm R. Garbe2006-08-233-99/+104
|
* updated man pageAnselm R. Garbe2006-08-221-2/+1
|
* titlebars contain tags in the right nowAnselm R. Garbe2006-08-221-6/+5
|
* fixed default key bindings (indexes of tags were screwed up)Anselm R. Garbe2006-08-221-20/+20
|
* rearranged getprotoAnselm R. Garbe2006-08-221-6/+5
|
* removed winprop (merged into getproto)Anselm R. Garbe2006-08-221-27/+7
|
* separated several functions into view.cAnselm R. Garbe2006-08-225-258/+266
|
* removed DEFTAGAnselm R. Garbe2006-08-223-4/+2
|
* removed badmalloc (thx for the pointer to Uriel)Anselm R. Garbe2006-08-221-10/+2
|
* rxvt is quite slow under OpenBSDAnselm R. Garbe2006-08-221-1/+1
|
* font fixAnselm R. Garbe2006-08-221-2/+3
|
* slight change of my config.hAnselm R. Garbe2006-08-221-4/+4
|
* fixedAnselm R. Garbe2006-08-221-3/+3
|
* windows which have set transient_for hint inherit the transient_for window ↵arg@localhost.10kloc.org2006-08-212-2/+7
| | | | tags now
* after switching to OpenBSD again, I switched back to a saner color schemearg@localhost.10kloc.org2006-08-212-8/+10
|
* applied Sanders focus_* patches, removed the unnecessary clean-prefix from ↵Anselm R.Garbe2006-08-212-28/+32
| | | | the new function names
* small renamings of two static functionsAnselm R.Garbe2006-08-212-5/+5
|
* small changes to dwm.1, rearranged order within main event loopAnselm R.Garbe2006-08-213-11/+13
|
* applied Sanders patchAnselm R.Garbe2006-08-181-6/+2
|
* made a new client position strategy similiar to that one proposed by Sander, ↵Anselm R.Garbe2006-08-181-7/+7
| | | | but which takes top bar into account
* fixed a bug reported by sanderAnselm R.Garbe2006-08-171-1/+1
|
* applied the shorter xprop commandAnselm R.Garbe2006-08-171-1/+1
|
* centering apps only if transient_for is not(!) setAnselm R.Garbe2006-08-171-9/+1
|
* fixed issue Sander reportedAnselm R.Garbe2006-08-171-4/+3
|
* corrected order of cleanup code Anselm R.Garbe2006-08-161-1/+1
|
* condition was insufficientAnselm R.Garbe2006-08-161-2/+2
|
* fixed issue reported by sanderAnselm R.Garbe2006-08-162-3/+6
|
* added general centralization rule for new clients (works around various ↵Anselm R.Garbe2006-08-162-2/+14
| | | | borken apps)
* removed leading ;Anselm R.Garbe2006-08-161-1/+1
|
* added sample command to config.default.h to highlight how to query ↵Anselm R.Garbe2006-08-161-0/+2
| | | | class:instance info with a one-liner of shell commands
* applied another config.mk patch made by sanderAnselm R.Garbe2006-08-161-1/+1
|
* we close stdin as wellAnselm R.Garbe2006-08-161-3/+4
|
* simplified sort | uniq into sort -u (on my boxes all sort support -u)Anselm R.Garbe2006-08-161-1/+1
|
* fixing small bug in config.mkAnselm R.Garbe2006-08-151-2/+2
|
* adding forgetten whitespaceAnselm R.Garbe2006-08-151-1/+1
|
* added gmane archive to dwm.htmlAnselm R.Garbe2006-08-151-1/+1
|
* Added tag 0.9 for changeset fae61afa861755636c4a1070694209ace8efbb6cAnselm R.Garbe2006-08-151-0/+1
|
* prepared dwm-0.9 0.9Anselm R.Garbe2006-08-151-2/+2
|
* extended cleanupAnselm R.Garbe2006-08-152-2/+12
|
* applied Sanders changes to config.arg.hAnselm R.Garbe2006-08-151-18/+14
|
pan class="cm">/* extern */ void incnmaster(Arg *arg) { if((lt->arrange != tile) || (nmaster + arg->i < 1) || (wah / (nmaster + arg->i) <= 2 * BORDERPX)) return; nmaster += arg->i; if(sel) lt->arrange(); else drawstatus(); } void initlayouts(void) { unsigned int i, w; lt = &layout[0]; nlayouts = sizeof layout / sizeof layout[0]; for(blw = i = 0; i < nlayouts; i++) { w = textw(layout[i].symbol); if(w > blw) blw = w; } } void resizemaster(Arg *arg) { if(lt->arrange != tile) return; if(arg->i == 0) master = MASTER; else { if(waw * (master + arg->i) / 1000 >= waw - 2 * BORDERPX || waw * (master + arg->i) / 1000 <= 2 * BORDERPX) return; master += arg->i; } lt->arrange(); } void restack(void) { Client *c; XEvent ev; drawstatus(); if(!sel) return; if(sel->isversatile || lt->arrange == versatile) XRaiseWindow(dpy, sel->win); if(lt->arrange != versatile) { if(!sel->isversatile) XLowerWindow(dpy, sel->win); for(c = nexttiled(clients); c; c = nexttiled(c->next)) { if(c == sel) continue; XLowerWindow(dpy, c->win); } } XSync(dpy, False); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); } void setlayout(Arg *arg) { unsigned int i; if(arg->i == -1) { for(i = 0; i < nlayouts && lt != &layout[i]; i++); if(i == nlayouts - 1) lt = &layout[0]; else lt = &layout[++i]; } else { if(arg->i < 0 || arg->i >= nlayouts) return; lt = &layout[arg->i]; } if(sel) lt->arrange(); else drawstatus(); } void toggleversatile(Arg *arg) { if(!sel || lt->arrange == versatile) return; sel->isversatile = !sel->isversatile; lt->arrange(); } void versatile(void) { Client *c; for(c = clients; c; c = c->next) { if(isvisible(c)) { if(c->isbanned) XMoveWindow(dpy, c->win, c->x, c->y); c->isbanned = False; resize(c, c->x, c->y, c->w, c->h, True); } else { c->isbanned = True; XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); } } if(!sel || !isvisible(sel)) { for(c = stack; c && !isvisible(c); c = c->snext); focus(c); } restack(); }