1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[iframe] Set y position

This commit is contained in:
Witold Filipczyk 2021-07-29 21:22:52 +02:00
parent a945d47584
commit 1de4b3def3
2 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,7 @@ void add_iframeset_entry(struct iframeset_desc **parent,
iframe_desc = &iframeset_desc->iframe_desc[offset];
iframe_desc->name = stracpy(name);
iframe_desc->uri = get_uri(url, 0);
iframe_desc->y = y;
iframe_desc->width = width;
iframe_desc->height = height;
if (!iframe_desc->uri)
@ -203,6 +204,7 @@ format_iframes(struct session *ses, struct iframeset_desc *ifsd,
struct document_view *doc_view;
o.box.x = op->box.x;
o.box.y = iframe_desc->y;
o.box.width = iframe_desc->width;
o.box.height = iframe_desc->height;

View File

@ -13,6 +13,7 @@ struct iframe_desc {
char *name;
struct uri *uri;
int y;
int width, height;
};