diff --git a/data/gtk/window.ui b/data/gtk/window.ui
index 2fcdb94..cfb9a8b 100644
--- a/data/gtk/window.ui
+++ b/data/gtk/window.ui
@@ -67,22 +67,11 @@
-
diff --git a/data/resources/style.css b/data/resources/style.css
index 46145a8..31ecc82 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -4,7 +4,7 @@ button.osd.circular {
min-height: 42px;
}
-flap.fullscreen-widget dimming, shadow, border, outline {
+shadow, border, outline {
background: none;
}
diff --git a/src/window.rs b/src/window.rs
index aaaea67..acf46ff 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -68,8 +68,6 @@ mod imp {
// TemplateChild wrapper, where T is the
// object type of the template child.
#[template_child]
- pub(super) flap: TemplateChild,
- #[template_child]
pub(super) headerbar: TemplateChild,
#[template_child]
pub(super) properties_button: TemplateChild,
@@ -783,18 +781,6 @@ impl LpWindow {
}
}
- // We also have a closure that returns `adw::FlapFoldPolicy`.
- // if we aren't fullscreened, or if the properties are revealed,
- // we unfold the main flap. Otherwise we're always folded.
- #[template_callback]
- fn fold_policy(&self, fullscreened: bool, properties_revealed: bool) -> adw::FlapFoldPolicy {
- if !fullscreened || properties_revealed {
- adw::FlapFoldPolicy::Never
- } else {
- adw::FlapFoldPolicy::Always
- }
- }
-
#[template_callback]
fn on_motion_cb(&self) {
let controller = &self.imp().motion_controller;