diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 02:53:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 02:53:06 +0000 |
| commit | 619ad666fc3091a2ec022cbe4d829123ee94398b (patch) | |
| tree | 19e4e0bc27d2ecf58476b6ed804459cce65eb09c /src | |
| parent | 53001eebae2c5623cce6b865e616c66e8b998dbd (diff) | |
add {}'s
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc index 603a08bd..f83a8a3d 100644 --- a/src/client.cc +++ b/src/client.cc @@ -99,10 +99,10 @@ void Client::getGravity() long junk; if (XGetWMNormalHints(**otk::display, _window, &size, &junk) && - size.flags & PWinGravity) + size.flags & PWinGravity) { // first try the normal hints _gravity = size.win_gravity; - else { + } else { // then fall back to the attribute ret = XGetWindowAttributes(**otk::display, _window, &wattrib); assert(ret != BadWindow); |
