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;
|
long junk;
|
||||||
|
|
||||||
if (XGetWMNormalHints(**otk::display, _window, &size, &junk) &&
|
if (XGetWMNormalHints(**otk::display, _window, &size, &junk) &&
|
||||||
size.flags & PWinGravity)
|
size.flags & PWinGravity) {
|
||||||
// first try the normal hints
|
// first try the normal hints
|
||||||
_gravity = size.win_gravity;
|
_gravity = size.win_gravity;
|
||||||
else {
|
} else {
|
||||||
// then fall back to the attribute
|
// then fall back to the attribute
|
||||||
ret = XGetWindowAttributes(**otk::display, _window, &wattrib);
|
ret = XGetWindowAttributes(**otk::display, _window, &wattrib);
|
||||||
assert(ret != BadWindow);
|
assert(ret != BadWindow);
|
||||||
|
|
Loading…
Reference in a new issue