dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
Dana Jansens danakj@orodu.net
1 files changed,
9 insertions(+),
7 deletions(-)
jump to
M
src/Window.cc
→
src/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(); + } }