Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wayland
wayland
Commits
b2e619c7
Commit
b2e619c7
authored
Jan 05, 2012
by
Kristian Høgsberg
Browse files
Add new wl_shell popup surface type
parent
b6b3d07c
Changes
1
Hide whitespace changes
Inline
Side-by-side
protocol/wayland.xml
View file @
b2e619c7
...
...
@@ -347,6 +347,27 @@
active? -->
<request
name=
"set_fullscreen"
/>
<!-- Popup surfaces. Will switch an implicit grab into
owner-events mode, and grab will continue after the implicit
grab ends (button released). Once the implicit grab is over,
the popup grab continues until the window is destroyed or a
mouse button is pressed in any other clients window. A click
in any of the clients surfaces is reported as normal,
however, clicks in other clients surfaces will be discarded
and trigger the callback.
TODO: Grab keyboard too, maybe just terminate on any click
inside or outside the surface?
-->
<request
name=
"set_popup"
>
<arg
name=
"input_device"
type=
"object"
interface=
"wl_input_device"
/>
<arg
name=
"time"
type=
"uint"
/>
<arg
name=
"parent"
type=
"object"
interface=
"wl_shell_surface"
/>
<arg
name=
"x"
type=
"int"
/>
<arg
name=
"y"
type=
"int"
/>
<arg
name=
"flags"
type=
"uint"
/>
</request>
<!-- The configure event asks the client to resize its surface.
The size is a hint, in the sense that the client is free to
ignore it if it doesn't resize, pick a smaller size (to
...
...
@@ -359,6 +380,11 @@
<arg
name=
"width"
type=
"int"
/>
<arg
name=
"height"
type=
"int"
/>
</event>
<!-- The popup_done event is sent out when a popup grab is broken,
that is, when the users clicks a surface that doesn't belong
to the client owning the popup surface. -->
<event
name=
"popup_done"
/>
</interface>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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