mirror of https://github.com/0intro/wmii
small stylistic changes
This commit is contained in:
parent
987842a8bb
commit
9fdc055800
|
@ -516,7 +516,10 @@ resize_client(Client *c, XRectangle *r, Bool ignore_xcall)
|
|||
match_sizehints(c);
|
||||
|
||||
if(!ignore_xcall) {
|
||||
if(!idx_of_area(f->area) && c->rect.width >= rect.width && c->rect.height >= rect.height) {
|
||||
if(!idx_of_area(f->area) &&
|
||||
(c->rect.width >= rect.width) &&
|
||||
(c->rect.height >= rect.height))
|
||||
{
|
||||
f->rect.x = -def.border;
|
||||
f->rect.y = -height_of_bar();
|
||||
}
|
||||
|
|
|
@ -155,8 +155,8 @@ handle_configurerequest(XEvent *e)
|
|||
if(c->frame.size) {
|
||||
Frame *f = c->frame.data[c->sel];
|
||||
if(c->rect.width >= rect.width && c->rect.height >= rect.height) {
|
||||
f->rect.x = wc.x = -def.border;
|
||||
f->rect.y = wc.y = -height_of_bar();
|
||||
f->rect.x = wc.x = -def.border;
|
||||
}
|
||||
else {
|
||||
f->rect.x = wc.x = c->rect.x - def.border;
|
||||
|
|
Loading…
Reference in New Issue