diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | commands.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -VERSION = git-20120227 +VERSION = git-20120302 CC = gcc CFLAGS = -ansi -Wall -pedantic -O2 @@ -262,8 +262,10 @@ bool i_drag(arg_t a) { if (dragging) next = XCheckIfEvent(win.env.dpy, &e, is_motionnotify, None); if ((!dragging || !next) && (dx != 0 || dy != 0)) { - if (img_move(&img, dx, dy)) + if (img_move(&img, dx, dy)) { img_render(&img); + win_draw(&win); + } dx = dy = 0; } } |