diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-10-04 18:12:27 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-10-04 18:22:43 +0200 |
commit | e310136e02ada4862c250280034d36fbfa24fc61 (patch) | |
tree | 496db891475c1b9670ab49e5f025012d05f4b37a /main.c | |
parent | 9b6acc781e3fc2994bde60db397cfd82e2e050d1 (diff) | |
download | nsxiv-e310136e02ada4862c250280034d36fbfa24fc61.tar.zst |
Mouse drag translates pointer position to image area
This makes mouse panning more direct and faster.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -741,6 +741,7 @@ void run(void) XPeekEvent(win.env.dpy, &nextev); switch (ev.type) { case ConfigureNotify: + case MotionNotify: discard = ev.type == nextev.type; break; case KeyPress: |