mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Remove redundant clippy allow
This commit is contained in:
@@ -942,7 +942,6 @@ impl State {
|
||||
self.niri.layout.activate_window(window);
|
||||
|
||||
let new_active = self.niri.layout.active_output().cloned();
|
||||
#[allow(clippy::collapsible_if)]
|
||||
if new_active != active_output {
|
||||
if !self.maybe_warp_cursor_to_focus_centered() {
|
||||
self.move_cursor_to_output(&new_active.unwrap());
|
||||
|
||||
Reference in New Issue
Block a user