all repos — openbox @ 619ad666fc3091a2ec022cbe4d829123ee94398b

openbox fork - make it a bit more like ryudo

add {}'s
Dana Jansens danakj@orodu.net
commit

619ad666fc3091a2ec022cbe4d829123ee94398b

parent

53001eebae2c5623cce6b865e616c66e8b998dbd

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/client.ccsrc/client.cc

@@ -99,10 +99,10 @@ Status ret;

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);