diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-09-06 23:02:42 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-09-06 23:05:56 +0200 |
commit | f916507c9c1c38bd7920005422685fef227664ba (patch) | |
tree | c39258798e46eeb7cb7ca3b7cc30a8e1019b7260 /src/mainwindow.c | |
parent | a4fc5fe56ad4861c9345f003bdd1d7822f756b08 (diff) |
New frames always go at the top level
We don't have a properly thought-out inheritance model just yet
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 8783acc..1b5a8d6 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1434,11 +1434,7 @@ static struct frame *create_frame(struct presentation *p, double x, double y, struct frame *parent; struct frame *fr; - if ( p->n_selection != 1 ) { - parent = p->cur_edit_slide->top; - } else { - parent = p->selection[0]; - } + parent = p->cur_edit_slide->top; if ( w < 0.0 ) { x += w; |