diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-03 04:14:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-03 04:14:54 +0000 |
| commit | 9223bfdd67ff39e4aaf72be1a0b4341033fc12c8 (patch) | |
| tree | df5b628ccf4e5c084fd26bf879209d6ed4651c0b /src/frame.cc | |
| parent | f5904cdaaafa95e8ab6ffde212dfc6b7478b4e32 (diff) | |
let the client be moved to a position specified for the *frame*
Diffstat (limited to 'src/frame.cc')
| -rw-r--r-- | src/frame.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/frame.cc b/src/frame.cc index 06b263d8..ab21daff 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -344,6 +344,8 @@ void Frame::adjustSize() void Frame::adjustPosition() { int x, y; + x = _client->area().x(); + y = _client->area().y(); clientGravity(x, y); move(x, y); } @@ -450,9 +452,6 @@ void Frame::releaseClient() void Frame::clientGravity(int &x, int &y) { - x = _client->area().x(); - y = _client->area().y(); - // horizontal switch (_client->gravity()) { default: @@ -509,9 +508,6 @@ void Frame::clientGravity(int &x, int &y) void Frame::frameGravity(int &x, int &y) { - x = rect().x(); - y = rect().y(); - // horizontal switch (_client->gravity()) { default: |
