diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-10 17:13:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-10 17:13:57 +0000 |
| commit | 3541c60fcbee11fe4fe7ba806219c3c16bb5a574 (patch) | |
| tree | 2a574f44ee4986bdde5eda1b1e73e4eb307e26f5 /openbox | |
| parent | 7b7bf43fc94ef3ab8c2951d0df83bf116984f413 (diff) | |
use the current size not the start size for moving
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/moveresize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 0abb8e8d..1c31a253 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -171,7 +171,8 @@ static void do_move(gboolean resist) /* get where the client should be */ frame_frame_gravity(moveresize_client->frame, &cur_x, &cur_y); client_configure(moveresize_client, OB_CORNER_TOPLEFT, cur_x, cur_y, - start_cw, start_ch, TRUE, FALSE); + moveresize_client->area.width, + moveresize_client->area.height, TRUE, FALSE); } static void do_resize(gboolean resist) |
