mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
layer shells do not appear
This commit is contained in:
parent
49a6ced28e
commit
44f694f916
4 changed files with 10 additions and 9 deletions
|
|
@ -211,7 +211,6 @@ fn handleNewXdgToplevelDecoration(
|
|||
decoration: *wlr.XdgToplevelDecorationV1
|
||||
) void {
|
||||
if(server.root.viewById(@intFromPtr(decoration.toplevel))) |view| {
|
||||
std.log.debug("found view\n", .{});
|
||||
view.xdg_toplevel_decoration = decoration;
|
||||
}
|
||||
}
|
||||
|
|
@ -224,6 +223,7 @@ fn handleNewLayerSurface(
|
|||
_: *wl.Listener(*wlr.LayerSurfaceV1),
|
||||
layer_surface: *wlr.LayerSurfaceV1
|
||||
) void {
|
||||
std.log.debug("requested layer shell\n", .{});
|
||||
if (layer_surface.output == null) {
|
||||
if (server.seat.focused_output == null) {
|
||||
std.log.err("No output available for new layer surface", .{});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue