Bypassing the window manager does not imply no focus

This commit is contained in:
Ivan Čukić 2014-03-27 19:51:16 +01:00
parent e2620708b8
commit f53a976ae7

View File

@ -775,10 +775,6 @@ bool Dialog::hideOnWindowDeactivate() const
void Dialog::setHideOnWindowDeactivate(bool hide)
{
if (flags() & Qt::X11BypassWindowManagerHint) {
// doesn't get keyboard focus, so let's just ignore it
return;
}
if (d->hideOnWindowDeactivate == hide) {
return;
}