Commits (1)
...@@ -980,6 +980,10 @@ static int x11_event(XEvent *ev) ...@@ -980,6 +980,10 @@ static int x11_event(XEvent *ev)
nlock = 1; nlock = 1;
case XK_Left: case XK_Left:
case XK_KP_Left: case XK_KP_Left:
if (ev->xkey.state & Mod1Mask) {
if (x_cvstat.scaling > 1)
x_cvstat.scaling--;
}
scan = 75; scan = 75;
goto docode; goto docode;
...@@ -995,6 +999,10 @@ static int x11_event(XEvent *ev) ...@@ -995,6 +999,10 @@ static int x11_event(XEvent *ev)
case XK_Right: case XK_Right:
case XK_KP_Right: case XK_KP_Right:
scan = 77; scan = 77;
if (ev->xkey.state & Mod1Mask) {
if (x_cvstat.scaling < 7)
x_cvstat.scaling++;
}
goto docode; goto docode;
case XK_KP_Add: case XK_KP_Add:
......