add {}'s
This commit is contained in:
parent
53001eebae
commit
619ad666fc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue