aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/mod.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-03-29 12:38:43 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-03-29 12:50:16 +0300
commit3bb7e603115d59441a700deadf11d9fd834386ea (patch)
treecd3e03e03dff6873255b81a26dbdda6a01ea8459 /src/handlers/mod.rs
parentd639eb0032a1022f4c76b40646cc7e501e568f35 (diff)
downloadniri-3bb7e603115d59441a700deadf11d9fd834386ea.tar.gz
niri-3bb7e603115d59441a700deadf11d9fd834386ea.tar.bz2
niri-3bb7e603115d59441a700deadf11d9fd834386ea.zip
layout: Remove duplicated function
Diffstat (limited to 'src/handlers/mod.rs')
-rw-r--r--src/handlers/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs
index 198c263a..d9b029c5 100644
--- a/src/handlers/mod.rs
+++ b/src/handlers/mod.rs
@@ -373,7 +373,7 @@ impl ClientDndGrabHandler for State {
// We can't even get the current pointer location because it's locked (we're deep
// in the grab call stack here). So use the last known one.
if let Some(output) = &self.niri.pointer_contents.output {
- self.niri.layout.activate_output(output);
+ self.niri.layout.focus_output(output);
}
}
}