My Project
|
Defines which MirSurface has focus. More...
#include <unity/shell/application/MirFocusControllerInterface.h>
Properties | |
unity::shell::application::MirSurfaceInterface | focusedSurface |
The MirSurface which currently has focus, if any. More... | |
Defines which MirSurface has focus.
Even though QQuickWindow::activeFocusItem is who ultimately defines the focused MirSurface in the QML scene, the two might not necessarily match all the time. And also this is a cleaner way of keeping tabs on the focused MirSurface as it doesn't involve unrelated QML items.
|
readwrite |
The MirSurface which currently has focus, if any.
Shell provides this information.
But it can also be changed by the implementation. When a MirSurfaceItem gets active focus from the QML scene, it will also call MirFocusController::setFocusedSurface for the MirSurface it holds.