diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-11-09 18:58:41 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-11-09 18:58:41 +0100 |
commit | f6ea74028dc1ea7547a9421193bf07566ab38b19 (patch) | |
tree | a170c9f9ba3f69149ecf7d22f5bc3b34f55f24cc /platform/x11/x11_main.c | |
parent | 2932bb43b72fe3b2e309d99321f69cf1398b79eb (diff) | |
download | mupdf-f6ea74028dc1ea7547a9421193bf07566ab38b19.tar.xz |
Fix 698320: Add 'z' keybinding to reset zoom.
This matches the behaviour of mupdf-gl.
Diffstat (limited to 'platform/x11/x11_main.c')
-rw-r--r-- | platform/x11/x11_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index 2f4b39b0..ddfdee2b 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -931,6 +931,7 @@ int main(int argc, char **argv) gapp.transitions_enabled = 1; gapp.scrw = DisplayWidth(xdpy, xscr); gapp.scrh = DisplayHeight(xdpy, xscr); + gapp.default_resolution = resolution; gapp.resolution = resolution; gapp.pageno = pageno; |