Skip to content

Commit

Permalink
Rename g_zoom_off to g_zoom_enabled in unix code
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Nov 27, 2024
1 parent e2c35da commit eff4bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unix/d_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion unix/unixscr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eff4bf1

Please sign in to comment.