diff --git a/unix/d_x11.cpp b/unix/d_x11.cpp index ada16db39..c8efb8175 100644 --- a/unix/d_x11.cpp +++ b/unix/d_x11.cpp @@ -1169,7 +1169,7 @@ void X11Driver::ev_button_press(XEvent *xevent) bool banding = false; int bandx0, bandy0, bandx1, bandy1; - if (g_look_at_mouse == +MouseLook::POSITION || !g_zoom_off) + if (g_look_at_mouse == +MouseLook::POSITION || !g_zoom_enabled) { m_last_x = xevent->xbutton.x; m_last_y = xevent->xbutton.y; diff --git a/unix/unixscr.cpp b/unix/unixscr.cpp index 1c242f5f8..4a8bd85cf 100644 --- a/unix/unixscr.cpp +++ b/unix/unixscr.cpp @@ -1501,7 +1501,7 @@ xhandleevents() { int done = 0; int banding = 0; - if (g_look_at_mouse == +MouseLook::POSITION || !g_zoom_off) + if (g_look_at_mouse == +MouseLook::POSITION || !g_zoom_enabled) { lastx = xevent.xbutton.x; lasty = xevent.xbutton.y;