mirror of https://github.com/0intro/wmii
small cosmetic
This commit is contained in:
parent
23394a922f
commit
2edb2598e2
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue