mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-07-14 19:14:23 -04:00
Expose the Window interface to QML
If we are designing our UI's windows from QML, it makes sense that we might want to configure how they're placed from the same place. Everything was already in place but for a few technical bits which this change adds. Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
This commit is contained in:
@ -136,6 +136,7 @@ void QWaylandLayerSurface::setKeyboardInteractivity(uint32_t interactivity)
|
||||
|
||||
void QWaylandLayerSurface::setLayer(uint32_t layer)
|
||||
{
|
||||
qDebug() << "wtfffffff" << layer << zwlr_layer_surface_v1_get_version(object()) << ZWLR_LAYER_SURFACE_V1_SET_LAYER_SINCE_VERSION;
|
||||
if (zwlr_layer_surface_v1_get_version(object()) >= ZWLR_LAYER_SURFACE_V1_SET_LAYER_SINCE_VERSION)
|
||||
set_layer(layer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user