From 414cbfef2dc612bb6e5a02ce7080d5d2d8d303f5 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Wed, 20 Dec 2023 19:55:11 +0000 Subject: [PATCH] shell: Drop unused maximize mode --- src/shell/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/shell/mod.rs b/src/shell/mod.rs index cdd2992f..bca087a5 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -154,12 +154,6 @@ impl ResizeMode { } } -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -pub enum MaximizeMode { - Floating, - OnTop, -} - #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub enum ActivationKey { Wayland(WlSurface), @@ -181,7 +175,6 @@ pub struct Shell { pub workspaces: Workspaces, pub popups: PopupManager, - pub maximize_mode: MaximizeMode, pub pending_windows: Vec<(CosmicSurface, Seat, Option)>, pub pending_layers: Vec<(LayerSurface, Output, Seat)>, pub pending_activations: HashMap, @@ -1056,7 +1049,6 @@ impl Shell { Shell { popups: PopupManager::default(), workspaces: Workspaces::new(config, theme.clone()), - maximize_mode: MaximizeMode::Floating, pending_windows: Vec::new(), pending_layers: Vec::new(),