off by one caused clients to be resized a little during a move
This commit is contained in:
parent
d989e3c541
commit
cb3aaab102
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
|
||||||
increment instead of at 0, so you have to move half an increment
|
increment instead of at 0, so you have to move half an increment
|
||||||
either way instead of a full increment one and 1 px the other. and this
|
either way instead of a full increment one and 1 px the other. and this
|
||||||
is one large mother fucking comment. */
|
is one large mother fucking comment. */
|
||||||
start_cw = c->area.width + (c->size_inc.width + 1) / 2;
|
start_cw = c->area.width + c->size_inc.width / 2;
|
||||||
start_ch = c->area.height + (c->size_inc.height + 1) / 2;
|
start_ch = c->area.height + c->size_inc.height / 2;
|
||||||
start_x = x;
|
start_x = x;
|
||||||
start_y = y;
|
start_y = y;
|
||||||
corner = cnr;
|
corner = cnr;
|
||||||
|
|
Loading…
Reference in a new issue