From f686ede90f42e6235f3b7dd5a6d127fc3bffb03a Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 27 Mar 2023 10:37:30 -0700 Subject: [PATCH] Don't cover panel --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 48b4953..d1588c0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use cctk::{ toplevel_management::v1::client::zcosmic_toplevel_manager_v1, workspace::v1::client::{zcosmic_workspace_handle_v1, zcosmic_workspace_manager_v1}, }, - sctk::shell::wlr_layer::{KeyboardInteractivity, Layer}, + sctk::shell::wlr_layer::{Anchor, KeyboardInteractivity, Layer}, toplevel_info::ToplevelInfo, wayland_client::{ protocol::{wl_output, wl_seat}, @@ -143,12 +143,12 @@ impl App { ); get_layer_surface(SctkLayerSurfaceSettings { id, - exclusive_zone: -1, keyboard_interactivity: KeyboardInteractivity::Exclusive, namespace: "cosmic-workspace-overview".into(), layer: Layer::Overlay, - size: Some((Some(width as _), Some(height as _))), + size: Some((None, None)), output: IcedOutput::Output(output), + anchor: Anchor::all(), ..Default::default() }) }