Bypassing the window manager does not imply no focus
This commit is contained in:
parent
e2620708b8
commit
f53a976ae7
@ -775,10 +775,6 @@ bool Dialog::hideOnWindowDeactivate() const
|
|||||||
|
|
||||||
void Dialog::setHideOnWindowDeactivate(bool hide)
|
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) {
|
if (d->hideOnWindowDeactivate == hide) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user