summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bar.rs2
-rw-r--r--src/wm_info_provider.rs2
-rw-r--r--src/wm_info_provider/river.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bar.rs b/src/bar.rs
index 09e76d3..2d29dca 100644
--- a/src/bar.rs
+++ b/src/bar.rs
@@ -63,7 +63,7 @@ impl Bar {
wm_info_provider.left_click_on_tag(conn, self.output, seat, tag)
}
PointerBtn::Right => {
- wm_info_provider.middle_click_on_tag(conn, self.output, seat, tag)
+ wm_info_provider.right_click_on_tag(conn, self.output, seat, tag)
}
_ => return Ok(()),
}
diff --git a/src/wm_info_provider.rs b/src/wm_info_provider.rs
index b7854b1..f5ac615 100644
--- a/src/wm_info_provider.rs
+++ b/src/wm_info_provider.rs
@@ -25,7 +25,7 @@ pub trait WmInfoProvider {
tag: &str,
);
- fn middle_click_on_tag(
+ fn right_click_on_tag(
&mut self,
conn: &mut Connection<State>,
output: WlOutput,
diff --git a/src/wm_info_provider/river.rs b/src/wm_info_provider/river.rs
index dc42d71..b432da4 100644
--- a/src/wm_info_provider/river.rs
+++ b/src/wm_info_provider/river.rs
@@ -84,7 +84,7 @@ impl WmInfoProvider for RiverInfoProvider {
.run_command_with_cb(conn, seat, river_command_cb);
}
- fn middle_click_on_tag(
+ fn right_click_on_tag(
&mut self,
conn: &mut Connection<State>,
_: WlOutput,