viscal

cairo/gtk vi-like timeblocking calendar
git clone git://jb55.com/viscal
Log | Files | Refs | README | LICENSE

commit e4ca614edfe02d6ecab250d34f9e99952e20f609
parent 9344e358150335321dd8a975f7e04709f2157000
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 15 Aug 2018 22:16:49 -0700

add dragx_off for good measure

Diffstat:
Mviscal.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/viscal.c b/viscal.c @@ -446,6 +446,7 @@ on_press(GtkWidget *widget, GdkEventButton *ev, gpointer user_data) { if (cal->target) { cal->target->dragx_start = mx; cal->target->dragy_off = cal->target->y - my; + cal->target->dragx_off = cal->target->x - mx; } break; case GDK_BUTTON_RELEASE: