Fill media.width and media.height
This commit is contained in:
parent
4b8fd364ad
commit
1ac842dd5f
@ -860,6 +860,7 @@ cairo_surface_t* container_linux::surface_from_pixbuf(const Glib::RefPtr<Gdk::Pi
|
||||
void container_linux::get_media_features(litehtml::media_features& media) const
|
||||
{
|
||||
litehtml::position client;
|
||||
get_client_rect(client);
|
||||
media.type = litehtml::media_type_screen;
|
||||
media.width = client.width;
|
||||
media.height = client.height;
|
||||
|
Loading…
Reference in New Issue
Block a user