diff options
Diffstat (limited to 'swaybar/tray')
-rw-r--r-- | swaybar/tray/item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/tray/item.c b/swaybar/tray/item.c index 39d83b23..a43bbf6f 100644 --- a/swaybar/tray/item.c +++ b/swaybar/tray/item.c @@ -334,7 +334,7 @@ static void handle_click(struct swaybar_sni *sni, int x, int y, if (strncmp(method, "Scroll", strlen("Scroll")) == 0) { char dir = method[strlen("Scroll")]; - char *orientation = (dir = 'U' || dir == 'D') ? "vertical" : "horizontal"; + char *orientation = (dir == 'U' || dir == 'D') ? "vertical" : "horizontal"; int sign = (dir == 'U' || dir == 'L') ? -1 : 1; sd_bus_call_method_async(sni->tray->bus, NULL, sni->service, sni->path, |