Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
weston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Agner
weston
Commits
2763b66d
Commit
2763b66d
authored
Oct 17, 2017
by
Michael Teyfel
Committed by
Daniel Stone
Feb 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ivi-shell: create weston_desktop in wet_shell_init
Signed-off-by:
Michael Teyfel
<
mteyfel@de.adit-jv.com
>
parent
ed28f020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ivi-shell/ivi-shell.c
ivi-shell/ivi-shell.c
+8
-1
No files found.
ivi-shell/ivi-shell.c
View file @
2763b66d
...
...
@@ -631,16 +631,23 @@ wet_shell_init(struct weston_compositor *compositor,
shell
->
wake_listener
.
notify
=
wake_handler
;
wl_signal_add
(
&
compositor
->
wake_signal
,
&
shell
->
wake_listener
);
shell
->
desktop
=
weston_desktop_create
(
compositor
,
&
shell_desktop_api
,
shell
);
if
(
!
shell
->
desktop
)
goto
err_shell
;
if
(
wl_global_create
(
compositor
->
wl_display
,
&
ivi_application_interface
,
1
,
shell
,
bind_ivi_application
)
==
NULL
)
goto
err_
shell
;
goto
err_
desktop
;
ivi_layout_init_with_compositor
(
compositor
);
shell_add_bindings
(
compositor
,
shell
);
return
IVI_SUCCEEDED
;
err_desktop:
weston_desktop_destroy
(
shell
->
desktop
);
err_shell:
free
(
shell
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment