summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-18 13:40:09 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-18 13:40:09 -0300
commitf212c7f8dbbdf065966335d7d65373d6af628574 (patch)
treeb72fc8d1c27340aaaae4fe337e6ac63ca1b92764 /gui/sheet.c
parentb906af31fb4884cdc399f0e7f8338314c287e49e (diff)
downloadeeshow-f212c7f8dbbdf065966335d7d65373d6af628574.tar.gz
eeshow-f212c7f8dbbdf065966335d7d65373d6af628574.tar.bz2
eeshow-f212c7f8dbbdf065966335d7d65373d6af628574.zip
eeshow/gui/sheet.c (sheet_drag_end): re-hover glabels after dragging
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 35906ea..a213b5d 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -368,6 +368,12 @@ static void sheet_drag_move(void *user, int dx, int dy)
}
+static void sheet_drag_end(void *user)
+{
+ input_update();
+}
+
+
static void sheet_scroll(void *user, int x, int y, int dy)
{
struct gui_ctx *ctx = user;
@@ -444,6 +450,7 @@ static const struct input_ops sheet_input_ops = {
.scroll = sheet_scroll,
.drag_begin = sheet_drag_begin,
.drag_move = sheet_drag_move,
+ .drag_end = sheet_drag_end,
.key = sheet_key,
};