Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 62b34c61 authored by Deucе's avatar Deucе 👌🏾
Browse files

Support ALT-Left/ALR-Right for scaling adjustment in X11 mode.

parent b4187588
Pipeline #2192 passed with stage
in 7 minutes and 35 seconds
......@@ -980,6 +980,10 @@ static int x11_event(XEvent *ev)
nlock = 1;
case XK_Left:
case XK_KP_Left:
if (ev->xkey.state & Mod1Mask) {
if (x_cvstat.scaling > 1)
x_cvstat.scaling--;
}
scan = 75;
goto docode;
......@@ -995,6 +999,10 @@ static int x11_event(XEvent *ev)
case XK_Right:
case XK_KP_Right:
scan = 77;
if (ev->xkey.state & Mod1Mask) {
if (x_cvstat.scaling < 7)
x_cvstat.scaling++;
}
goto docode;
case XK_KP_Add:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment