wayland: Don't deduce layer shell window layer based on window type
It seemed like a good idea at the time, but it conflicts with the client side wishing to change the layer.
This commit is contained in:
parent
5ccb543e89
commit
ad402510d3
1 changed files with 0 additions and 3 deletions
|
@ -193,9 +193,6 @@ void LayerShellV1Window::closeWindow()
|
||||||
|
|
||||||
Layer LayerShellV1Window::belongsToLayer() const
|
Layer LayerShellV1Window::belongsToLayer() const
|
||||||
{
|
{
|
||||||
if (!isNormalWindow()) {
|
|
||||||
return WaylandWindow::belongsToLayer();
|
|
||||||
}
|
|
||||||
switch (m_shellSurface->layer()) {
|
switch (m_shellSurface->layer()) {
|
||||||
case LayerSurfaceV1Interface::BackgroundLayer:
|
case LayerSurfaceV1Interface::BackgroundLayer:
|
||||||
return DesktopLayer;
|
return DesktopLayer;
|
||||||
|
|
Loading…
Reference in a new issue