how to remove xwayland desktop display in maaxboard zeus yocto image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to remove xwayland desktop display in maaxboard zeus yocto image

1,236 Views
gonewithwind-peter
Senior Contributor I

hi all,

for our application, we use chromium webpage as GUI for users to operate menu and display.
but there is a time gap between the wayland windows desktop display(the left top  side is terminal Icon, top right side is time) and our chrome page.
 
Can we remove the xwayland  windows desktop display? or remove terminal Icon and time display to make the background as  same color or a picture?
 
Thank you very much.
0 Kudos
Reply
2 Replies

1,224 Views
gonewithwind-peter
Senior Contributor I

@Zhiming_Liu 

thanks

0 Kudos
Reply

1,229 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@gonewithwind-peter 

Yes you can. Remove the top side.

clients\desktop-shell.c

static void
parse_panel_position(struct desktop *desktop, struct weston_config_section *s)
{
	char *position;

	//desktop->want_panel = 1;
          desktop->want_panel = 0;

	weston_config_section_get_string(s, "panel-position", &position, "top");
	if (strcmp(position, "top") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_TOP;
	} else if (strcmp(position, "bottom") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_BOTTOM;
	} else if (strcmp(position, "left") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_LEFT;
	} else if (strcmp(position, "right") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_RIGHT;
	} else {
		/* 'none' is valid here */
		if (strcmp(position, "none") != 0)
			fprintf(stderr, "Wrong panel position: %s\n", position);
		desktop->want_panel = 0;
	}
	free(position);
}

 

 

0 Kudos
Reply