all repos — openbox @ 8dc38853ef1c55de644948ddb390a363e59c25bf

openbox fork - make it a bit more like ryudo

dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
Dana Jansens danakj@orodu.net
commit

8dc38853ef1c55de644948ddb390a363e59c25bf

parent

d1b2c03152d7b1c8975bc6b9ff0a30897b5c8e01

1 files changed, 9 insertions(+), 7 deletions(-)

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

@@ -3688,14 +3688,16 @@ inferior = (e.xcrossing.detail == NotifyInferior);

} } - if ((! leave || inferior) && ! isFocused()) { - bool success = setInputFocus(); - if (success) // if focus succeeded install the colormap - installColormap(True); // XXX: shouldnt we honour no install? - } + if (! leave || inferior) { + if (! isFocused()) { + bool success = setInputFocus(); + if (success) // if focus succeeded install the colormap + installColormap(True); // XXX: shouldnt we honour no install? + } - if (screen->doAutoRaise()) - timer->start(); + if (screen->doAutoRaise()) + timer->start(); + } }