weston_config_section_get_bool() uses bool instead of integer from
libweston8.
Bug-AGL: SPEC-3352
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5a3f661824f494f0ba4a02eca5a41b25a460214e
struct wl_global *agl_shell;
struct wl_global *agl_shell_desktop;
struct {
struct wl_global *agl_shell;
struct wl_global *agl_shell_desktop;
struct {
- int activate_apps_by_default; /* switches once xdg top level has been 'created' */
+ bool activate_apps_by_default; /* switches once xdg top level has been 'created' */
struct weston_config_section *section;
int use_current_mode = 0;
int use_pixman = 0;
struct weston_config_section *section;
int use_current_mode = 0;
int use_pixman = 0;
int ret;
const struct weston_option options[] = {
int ret;
const struct weston_option options[] = {
bool *use_pixman, bool *fullscreen, int *output_count)
{
struct weston_config_section *section;
bool *use_pixman, bool *fullscreen, int *output_count)
{
struct weston_config_section *section;
int fs = 0;
const struct weston_option options[] = {
int fs = 0;
const struct weston_option options[] = {
struct xkb_rule_names xkb_names;
struct weston_config_section *section;
int repaint_msec;
struct xkb_rule_names xkb_names;
struct weston_config_section *section;
int repaint_msec;
- int vt_switching;
- int require_input;
+ bool vt_switching;
+ bool require_input;
/* agl-compositor.ini [keyboard] */
section = weston_config_get_section(config, "keyboard", NULL, NULL);
/* agl-compositor.ini [keyboard] */
section = weston_config_get_section(config, "keyboard", NULL, NULL);