~timo-jyrinki/ubuntu/trusty/maliit-framework/fix_qt52

« back to all changes in this revision

Viewing changes to src/desktop-shell.xml

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<protocol name="desktop">
2
 
 
3
 
  <interface name="desktop_shell" version="1">
4
 
    <description summary="create desktop widgets and helpers">
5
 
      Traditional user interfaces can rely on this interface to define the
6
 
      foundations of typical desktops. Currently it's possible to set up
7
 
      background, panels and locking surfaces.
8
 
    </description>
9
 
 
10
 
    <request name="set_background">
11
 
      <arg name="output" type="object" interface="wl_output"/>
12
 
      <arg name="surface" type="object" interface="wl_surface"/>
13
 
    </request>
14
 
 
15
 
    <request name="set_panel">
16
 
      <arg name="output" type="object" interface="wl_output"/>
17
 
      <arg name="surface" type="object" interface="wl_surface"/>
18
 
    </request>
19
 
 
20
 
    <request name="set_lock_surface">
21
 
      <arg name="surface" type="object" interface="wl_surface"/>
22
 
    </request>
23
 
 
24
 
    <request name="unlock"/>
25
 
 
26
 
    <request name="set_grab_surface">
27
 
      <description summary="set grab surface">
28
 
        The surface set by this request will receive a fake
29
 
        pointer.enter event during grabs at position 0, 0 and is
30
 
        expected to set an appropriate cursor image as described by
31
 
        the grab_cursor event sent just before the enter event.
32
 
      </description>
33
 
      <arg name="surface" type="object" interface="wl_surface"/>
34
 
    </request>
35
 
 
36
 
    <!-- We'll fold most of wl_shell into this interface and then
37
 
         they'll share the configure event.  -->
38
 
    <event name="configure">
39
 
      <arg name="edges" type="uint"/>
40
 
      <arg name="surface" type="object" interface="wl_surface"/>
41
 
      <arg name="width" type="int"/>
42
 
      <arg name="height" type="int"/>
43
 
    </event>
44
 
 
45
 
    <event name="prepare_lock_surface">
46
 
      <description summary="tell the client to create, set the lock surface">
47
 
        Tell the shell we want it to create and set the lock surface, which is
48
 
        a GUI asking the user to unlock the screen. The lock surface is
49
 
        announced with 'set_lock_surface'. Whether or not the shell actually
50
 
        implements locking, it MUST send 'unlock' request to let the normal
51
 
        desktop resume.
52
 
      </description>
53
 
    </event>
54
 
 
55
 
    <event name="grab_cursor">
56
 
      <description summary="tell client what cursor to show during a grab">
57
 
        This event will be sent immediately before a fake enter event on the
58
 
        grab surface.
59
 
      </description>
60
 
      <arg name="cursor" type="uint"/>
61
 
    </event>
62
 
 
63
 
    <enum name="cursor">
64
 
      <entry name="none" value="0"/>
65
 
 
66
 
      <entry name="resize_top" value="1"/>
67
 
      <entry name="resize_bottom" value="2"/>
68
 
 
69
 
      <entry name="arrow" value="3"/>
70
 
 
71
 
      <entry name="resize_left" value="4"/>
72
 
      <entry name="resize_top_left" value="5"/>
73
 
      <entry name="resize_bottom_left" value="6"/>
74
 
 
75
 
      <entry name="move" value="7"/>
76
 
 
77
 
      <entry name="resize_right" value="8"/>
78
 
      <entry name="resize_top_right" value="9"/>
79
 
      <entry name="resize_bottom_right" value="10"/>
80
 
 
81
 
      <entry name="busy" value="11"/>
82
 
    </enum>
83
 
  </interface>
84
 
 
85
 
  <interface name="screensaver" version="1">
86
 
    <description summary="interface for implementing screensavers">
87
 
      Only one client can bind this interface at a time.
88
 
    </description>
89
 
 
90
 
    <request name="set_surface">
91
 
      <description summary="set the surface type as a screensaver">
92
 
        A screensaver surface is normally hidden, and only visible after an
93
 
        idle timeout.
94
 
      </description>
95
 
 
96
 
      <arg name="surface" type="object" interface="wl_surface"/>
97
 
      <arg name="output" type="object" interface="wl_output"/>
98
 
    </request>
99
 
 
100
 
  </interface>
101
 
 
102
 
  <interface name="input_panel" version="1">
103
 
    <description summary="interface for implementing keyboards">
104
 
      Only one client can bind this interface at a time.
105
 
    </description>
106
 
 
107
 
    <request name="get_input_panel_surface">
108
 
      <arg name="id" type="new_id" interface="input_panel_surface"/>
109
 
      <arg name="surface" type="object" interface="wl_surface"/>
110
 
    </request>
111
 
  </interface>
112
 
 
113
 
  <interface name="input_panel_surface" version="1">
114
 
    <request name="set_toplevel">
115
 
      <description summary="set the surface type as a keyboard">
116
 
        A keybaord surface is only shown, when a text model is active
117
 
      </description>
118
 
    </request>
119
 
 
120
 
    <request name="set_transient">
121
 
      <description summary="set the surface type as a keyboard">
122
 
        A keyboard surface is only shown, when a text model is active
123
 
      </description>
124
 
 
125
 
      <arg name="parent" type="object" interface="wl_surface"/>
126
 
      <arg name="x" type="int"/>
127
 
      <arg name="y" type="int"/>
128
 
    </request>
129
 
  </interface>
130
 
 
131
 
</protocol>