dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.

This commit is contained in:
Dana Jansens 2002-08-23 07:28:04 +00:00
parent d1b2c03152
commit 8dc38853ef

View file

@ -3688,14 +3688,16 @@ void BlackboxWindow::enterNotifyEvent(const XCrossingEvent* ce) {
}
}
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();
}
}