diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-09-03 18:16:45 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-09-03 18:16:45 +0300 |
| commit | 96543db93cab410c15e4b4b8b3fc589d3c7066ee (patch) | |
| tree | feba05aa312356f494121b865197c351fae68f13 /src | |
| parent | 32f93e12353c81d03d0b30f048ab8754710f2cea (diff) | |
| download | i3bar-mango-96543db93cab410c15e4b4b8b3fc589d3c7066ee.tar.gz | |
remove mentions of hyprland supprot from readme & some dead code
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocol.rs | 3 | ||||
| -rw-r--r-- | src/shared_state.rs | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index d14d92a..5b30463 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -4,6 +4,3 @@ pub use wayrs_protocols::viewporter::*; pub use wayrs_protocols::wlr_layer_shell_unstable_v1::*; wayrs_client::scanner::generate!("protocols/river-status-unstable-v1.xml"); wayrs_client::scanner::generate!("protocols/river-control-unstable-v1.xml"); - -#[cfg(feature = "hyprland")] -wayrs_client::scanner::generate!("protocols/ext-workspace-unstable-v1.xml"); diff --git a/src/shared_state.rs b/src/shared_state.rs index 936b29a..a4ff48f 100644 --- a/src/shared_state.rs +++ b/src/shared_state.rs @@ -19,9 +19,4 @@ impl SharedState { pub fn get_river(&mut self) -> Option<&mut wm_info_provider::RiverInfoProvider> { self.wm_info_provider.as_mut()?.as_any().downcast_mut() } - - #[cfg(feature = "hyprland")] - pub fn get_ewu(&mut self) -> Option<&mut wm_info_provider::ExtWorkspaceUnstable> { - self.wm_info_provider.as_mut()?.as_any().downcast_mut() - } } |
