aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorDavid Eklov <david.eklov@gmail.com>2016-07-11 22:51:50 -0500
committerDavid Eklov <david.eklov@gmail.com>2016-07-15 19:14:31 -0500
commit250ddc66c672f62a3c7f44db73b5c4d0661093ba (patch)
treea1821de987be001f015e1ad0240765bdafe12130 /swaybar
parenta11277c88fba203f69f7a6e11c345265b4697cf0 (diff)
Rename pointer_input::notify to indicate that is called on button clicks
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 4f8063ac..c0aa85c7 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -124,7 +124,7 @@ void bar_setup(struct bar *bar, const char *socket_path, const char *bar_id) {
bar_output->window->font = bar->config->font;
/* set font */
- bar_output->window->pointer_input.notify = mouse_button_notify;
+ bar_output->window->pointer_input.notify_button = mouse_button_notify;
/* set window height */
set_window_height(bar_output->window, bar->config->height);