[shell/panel] Fix ability to type in textfield

On wayland the setFlags call does nothing, metadata for interaction is
set through the ShellSurface, by default this does not have focus for
panels.

BUG: 442557
wilder-5.24
David Edmundson 5 years ago
parent 47c897e944
commit 89edf22e80
  1. 1
      shell/panelconfigview.cpp

@ -252,6 +252,7 @@ bool PanelConfigView::event(QEvent *e)
break;
}
m_shellSurface = interface->createSurface(s, this);
m_shellSurface->setPanelTakesFocus(true);
}
break;
case QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed:

Loading…
Cancel
Save