dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
This commit is contained in:
parent
d1b2c03152
commit
8dc38853ef
1 changed files with 9 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue