Add scale support
This commit is contained in:
@@ -114,6 +114,7 @@ static bool start_view(struct view *view, const char *renderer, const char *url)
|
||||
struct owb_config_header config = {
|
||||
.magic = OWB_CONFIG_MAGIC, .version = OWB_PROTOCOL_VERSION,
|
||||
.width = width, .height = height, .fps = 20, .transparent = 0,
|
||||
.zoom_percent = 100,
|
||||
.hardware_acceleration = 1, .url_length = (uint32_t)strlen(url), .css_length = 0,
|
||||
};
|
||||
return write_all(view->control, &config, sizeof(config)) &&
|
||||
|
||||
Reference in New Issue
Block a user