aewl

diff client.c @ 452:026aba558fdf

added some comments
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 11 Sep 2006 07:40:41 +0200
parents 728c9089b079
children ffb462fb7903
line diff
     1.1 --- a/client.c	Fri Sep 08 08:32:08 2006 +0200
     1.2 +++ b/client.c	Mon Sep 11 07:40:41 2006 +0200
     1.3 @@ -19,11 +19,11 @@
     1.4  }
     1.5  
     1.6  static void
     1.7 -grabbuttons(Client *c, Bool focus)
     1.8 +grabbuttons(Client *c, Bool focused)
     1.9  {
    1.10  	XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
    1.11  
    1.12 -	if(focus) {
    1.13 +	if(focused) {
    1.14  		XGrabButton(dpy, Button1, MODKEY, c->win, False, BUTTONMASK,
    1.15  				GrabModeAsync, GrabModeSync, None, None);
    1.16  		XGrabButton(dpy, Button1, MODKEY | LockMask, c->win, False, BUTTONMASK,
    1.17 @@ -304,7 +304,7 @@
    1.18  		wc.border_width = 0;
    1.19  	else
    1.20  		wc.border_width = 1;
    1.21 -	XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
    1.22 +	XConfigureWindow(dpy, c->win, CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc);
    1.23  	XSync(dpy, False);
    1.24  }
    1.25