mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-07-18 13:04:21 -04:00
Expose set_layer
The set_layer request allows to move a surface to another layer after creating it.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user