requestActivate() in this place caused 100% cpu
if more than one dialog is shown in a loop, causes requestActivate called to different windows too fast, this causes 100% cpu usage both in the application and in the windowmanager (not kwin specific)
This commit is contained in:
parent
7fcb1b7889
commit
08e3fcfe65
@ -503,7 +503,6 @@ DialogProxy::WindowType DialogProxy::type() const
|
|||||||
|
|
||||||
void DialogProxy::focusInEvent(QFocusEvent *ev)
|
void DialogProxy::focusInEvent(QFocusEvent *ev)
|
||||||
{
|
{
|
||||||
requestActivate();
|
|
||||||
QQuickWindow::focusInEvent(ev);
|
QQuickWindow::focusInEvent(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user