small cosmetic

This commit is contained in:
Anselm R. Garbe 2006-05-13 14:19:25 +02:00
parent 23394a922f
commit 2edb2598e2
2 changed files with 3 additions and 4 deletions

View File

@ -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) {

View File

@ -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);