Expose set_layer

The set_layer request allows to move a surface to another layer after
creating it.
This commit is contained in:
Vlad Zahorodnii
2021-04-07 18:15:15 +03:00
parent 4ff7cf23c9
commit b4c62f7926
5 changed files with 78 additions and 15 deletions

View File

@ -45,6 +45,11 @@ void Window::setKeyboardInteractivity(bool enabled)
d->surface->setKeyboardInteractivity(enabled);
}
void Window::setLayer(Layer layer)
{
d->surface->setLayer(layer);
}
Window::Window(WindowPrivate *d)
: d(d)
{