diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:41:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 08:41:42 +0000 |
| commit | 056ff3b50cddd39b6f45969c17611dc3bf396ae9 (patch) | |
| tree | f91ec562c11d9a4ae0a41f963b82ae1c37300df8 /src/client.cc | |
| parent | ee1130f8ecd9ddc94eca535fa129809d840b8219 (diff) | |
better focus passing around for now
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc index a2106d86..381305f7 100644 --- a/src/client.cc +++ b/src/client.cc @@ -966,6 +966,22 @@ void OBClient::changeState() } + +void OBClient::setStackLayer(int l) +{ + if (l == 0) + _above = _below = false; // normal + else if (l > 0) { + _above = true; + _below = false; // above + } else { + _above = false; + _below = true; // below + } + changeState(); +} + + void OBClient::shade(bool shade) { if (shade == _shaded) return; // already done |
