diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2013-06-02 21:22:08 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2013-08-03 14:26:22 -0700 |
commit | 390a417ed5e04da48770ee4b7b1b310a758e5b9e (patch) | |
tree | ccd226b19f53833f0f896eeab1cd60e8e3aec790 /src | |
parent | ff2d82f72e226af17db96001bb1fee13f9d82c6e (diff) | |
download | mirror-meh-390a417ed5e04da48770ee4b7b1b310a758e5b9e.tar.gz mirror-meh-390a417ed5e04da48770ee4b7b1b310a758e5b9e.tar.bz2 mirror-meh-390a417ed5e04da48770ee4b7b1b310a758e5b9e.zip |
XK_0 1:1 zoom
Diffstat (limited to 'src')
-rw-r--r-- | src/xlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ void handlekeypress(XEvent *event){ case XK_r: key_reload(); break; + case XK_0: + if(curimg) + XResizeWindow(display, window, curimg->bufwidth, curimg->bufheight); + break; } } |