summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2023-01-31 23:49:45 +0200
committerMaxVerevkin <maxxverrr@gmail.com>2023-01-31 23:49:45 +0200
commit2f9730e919c5e7cd4dc16c4c4f4062f84b0721a3 (patch)
treeeddf690b3ab60c3ffe2b650f3588ba4023acc2f1
parente8c64f46d9a8e79afb13874813fa6a739025d28c (diff)
downloadi3bar-mango-2f9730e919c5e7cd4dc16c4c4f4062f84b0721a3.tar.gz
fix typo
-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,