diff --git a/src/shell/element/stack.rs b/src/shell/element/stack.rs
index 3a0597f6..484caac7 100644
--- a/src/shell/element/stack.rs
+++ b/src/shell/element/stack.rs
@@ -170,7 +170,7 @@ impl CosmicStack {
if let Some(mut geo) = p.geometry.lock().unwrap().clone() {
geo.loc.y += TAB_HEIGHT;
geo.size.h -= TAB_HEIGHT;
- window.set_geometry(geo);
+ window.set_geometry(geo, TAB_HEIGHT as u32);
}
window.send_configure();
if let Some(idx) = idx {
@@ -490,7 +490,7 @@ impl CosmicStack {
let win_geo = Rectangle::from_loc_and_size(loc, size);
for window in p.windows.lock().unwrap().iter() {
- window.set_geometry(win_geo);
+ window.set_geometry(win_geo, TAB_HEIGHT as u32);
}
*p.geometry.lock().unwrap() = Some(geo);
diff --git a/src/shell/element/surface.rs b/src/shell/element/surface.rs
index 512f7e84..3c6ad3f2 100644
--- a/src/shell/element/surface.rs
+++ b/src/shell/element/surface.rs
@@ -92,7 +92,7 @@ struct Minimized(AtomicBool);
struct Sticky(AtomicBool);
#[derive(Default)]
-pub struct GlobalGeometry(pub Mutex