diff --git a/src/window-zoom.cpp b/src/window-zoom.cpp index f87dbe0..6fa5614 100644 --- a/src/window-zoom.cpp +++ b/src/window-zoom.cpp @@ -317,7 +317,7 @@ class wayfire_winzoom : public wf::per_output_plugin_instance_t wf::axis_callback axis_cb = [=] (wlr_pointer_axis_event *ev) { auto view = toplevel_cast(wf::get_core().get_cursor_focus_view()); - if (ev->orientation == WLR_AXIS_ORIENTATION_VERTICAL) + if (ev->orientation == WL_POINTER_AXIS_VERTICAL_SCROLL) { auto delta = (int)-std::clamp(ev->delta, -1.0, 1.0); return update_winzoom(view, wf::point_t{delta, delta});