Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
P
phosh
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Guido Gunther
phosh
Commits
80ee8a3f
Commit
80ee8a3f
authored
Jul 27, 2018
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require version 2 of phosh's private interface
TODO: add the protocol to this commit
parent
f25ae65c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
protocol/phosh-private.xml
protocol/phosh-private.xml
+11
-11
src/phosh-wayland.c
src/phosh-wayland.c
+1
-1
No files found.
protocol/phosh-private.xml
View file @
80ee8a3f
...
...
@@ -23,29 +23,29 @@
</request>
</interface>
<!--
window
switch handling -->
<
interface
name=
"phosh_private_app_switcher"
version=
"1"
>
<!--
application
switch handling -->
<
!-- TODO: apps with multiple windows --
>
<interface
name=
"phosh_private_app_switcher"
version=
"2"
>
<enum
name=
"error"
>
<entry
name=
"invalid_argument"
value=
"0"
summary=
"an invalid argument was provided in a request"
/>
</enum>
<request
name=
"list_apps"
since=
"
1
"
>
<description
summary=
"Get current
view
s"
/>
<request
name=
"list_apps"
since=
"
2
"
>
<description
summary=
"Get current
ly running application
s"
/>
</request>
<request
name=
"raise_app"
since=
"
1
"
>
<description
summary=
"raise the
give view
"
/>
<request
name=
"raise_app"
since=
"
2
"
>
<description
summary=
"raise the
surface of the given application to the top
"
/>
<arg
name=
"app_id"
type=
"string"
summary=
"The app_id of the view"
/>
</request>
<event
name=
"app"
since=
"
1
"
>
<description
summary=
"
advertise available app
"
/>
<arg
name=
"app_id"
type=
"string"
summary=
"the app_id of
a view
"
/>
<event
name=
"app"
since=
"
2
"
>
<description
summary=
"
report a running application
"
/>
<arg
name=
"app_id"
type=
"string"
summary=
"the app_id of
the application
"
/>
</event>
<event
name=
"list_apps_done"
since=
"
1
"
>
<event
name=
"list_apps_done"
since=
"
2
"
>
<description
summary=
"all apps were sent"
/>
</event>
</interface>
...
...
src/phosh-wayland.c
View file @
80ee8a3f
...
...
@@ -59,7 +59,7 @@ registry_handle_global (void *data,
registry
,
name
,
&
phosh_private_interface
,
1
);
2
);
}
else
if
(
!
strcmp
(
interface
,
zwlr_layer_shell_v1_interface
.
name
))
{
priv
->
layer_shell
=
wl_registry_bind
(
registry
,
...
...
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