Skip to content

Commit

Permalink
fix(warning): put unreachable pattern behind negated feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thmasq committed Jan 12, 2024
1 parent 54e427a commit b5041d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clients/wayland/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ impl Environment {
send!(env.response_tx, Response::ClipboardItem(item));
}
calloop_channel::Event::Closed => error!("request channel unexpectedly closed"),
#[cfg(not(any(feature = "focused", feature = "launcher")))]
smithay_client_toolkit::reexports::calloop::channel::Event::Msg(
crate::clients::wayland::Request::ToplevelInfoAll,
) => unreachable!(),
Expand Down

0 comments on commit b5041d0

Please sign in to comment.