wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 2edb2598e29df7d53de40cc5b8257989c3dab78a
parent 23394a922f9f22534244c8c1c84fec81d9b8bc39
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Sat, 13 May 2006 14:19:25 +0200

small cosmetic


Diffstat:
cmd/wm/area.c | 4++--
cmd/wm/event.c | 3+--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/cmd/wm/area.c b/cmd/wm/area.c @@ -158,8 +158,8 @@ place_client(Area *a, Client *c) return; if(c->rect.width >= a->rect.width || c->rect.height >= a->rect.height - || c->size.flags&USPosition - || c->size.flags&PPosition) + || c->size.flags & USPosition + || c->size.flags & PPosition) return; if(!field) { diff --git a/cmd/wm/event.c b/cmd/wm/event.c @@ -97,8 +97,7 @@ handle_buttonpress(XEvent *e) if((c = frame_of_win(ev->window))) { ev->state &= valid_mask; if(ev->state & def.mod) { - if((ev->button == Button1 || ev->button == Button2 || ev->button == Button3)) - focus(c, True); + focus(c, True); switch(ev->button) { case Button1: do_mouse_move(c, False);