summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-18 17:08:29 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-18 17:09:20 -0300
commita4b71eeb0c59b95ea82d4501f690b5c76998df3f (patch)
tree3bad212293f9487f3799e8ab65f72d3a06ab7327 /gui/sheet.c
parentad532966aabbd2fc697ae8f713232a251ef82ea5 (diff)
downloadeeshow-a4b71eeb0c59b95ea82d4501f690b5c76998df3f.tar.gz
eeshow-a4b71eeb0c59b95ea82d4501f690b5c76998df3f.tar.bz2
eeshow-a4b71eeb0c59b95ea82d4501f690b5c76998df3f.zip
eeshow/gui/: add "underlay" for pop-ups (WIP)
We'll use this to construct stacks for glabels.
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index a213b5d..d0984ca 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -265,6 +265,7 @@ void go_to_sheet(struct gui_ctx *ctx, struct gui_sheet *sheet)
{
aoi_dehover();
overlay_remove_all(&ctx->pop_overlays);
+ overlay_remove_all(&ctx->pop_underlays);
if (!sheet->rendered) {
render_sheet(sheet);
mark_aois(ctx, sheet);
@@ -331,6 +332,7 @@ static bool sheet_click(void *user, int x, int y)
return 1;
overlay_remove_all(&ctx->pop_overlays);
+ overlay_remove_all(&ctx->pop_underlays);
redraw(ctx);
return 1;
}