From b968323b209cc7048ccad19e99382a770fb85f2f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 28 Mar 2018 16:43:49 +0200 Subject: Set frame->scblocks one level higher for top frame in SCEditor This makes it behave the same as when a new frame is created by \f --- src/sc_editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sc_editor.c b/src/sc_editor.c index 06e7688..27aeb3a 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -199,6 +199,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event, e->stylesheets, e->cbl, e->is, e->slidenum, pc, w, h, e->lang); + e->top->scblocks = e->scblocks; recursive_wrap(e->top, pc); } -- cgit v1.2.3