summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-05-04 16:16:43 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-05-04 16:16:43 -0400
commit92fb0e9e3963dc0a2e697899c33f8ebf74c418c7 (patch)
tree423025b60d859dc6a3992612ab1210c2b0f45a5e
parent8050bd217f38b4527d74a4288389d01a1b87be67 (diff)
meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels
-rw-r--r--compositor/meego-tablet-shell.c18
-rw-r--r--protocol/meego-tablet.xml8
2 files changed, 26 insertions, 0 deletions
diff --git a/compositor/meego-tablet-shell.c b/compositor/meego-tablet-shell.c
index 12cb440..3c3eec6 100644
--- a/compositor/meego-tablet-shell.c
+++ b/compositor/meego-tablet-shell.c
@@ -317,6 +317,22 @@ tablet_shell_set_homescreen(struct wl_client *client,
}
static void
+tablet_shell_show_grid(struct wl_client *client,
+ struct meego_tablet_shell *shell,
+ struct wl_surface *surface)
+{
+ fprintf(stderr, "tablet_shell_show_grid\n");
+}
+
+static void
+tablet_shell_show_panels(struct wl_client *client,
+ struct meego_tablet_shell *shell,
+ struct wl_surface *surface)
+{
+ fprintf(stderr, "tablet_shell_show_panels\n");
+}
+
+static void
destroy_tablet_client(struct wl_resource *resource, struct wl_client *client)
{
struct meego_tablet_client *tablet_client =
@@ -386,6 +402,8 @@ static const struct meego_tablet_shell_interface tablet_shell_interface = {
tablet_shell_set_lockscreen,
tablet_shell_set_switcher,
tablet_shell_set_homescreen,
+ tablet_shell_show_grid,
+ tablet_shell_show_panels,
tablet_shell_create_client
};
diff --git a/protocol/meego-tablet.xml b/protocol/meego-tablet.xml
index 9815b88..feceb6b 100644
--- a/protocol/meego-tablet.xml
+++ b/protocol/meego-tablet.xml
@@ -13,6 +13,14 @@
<arg name="surface" type="object" interface="wl_surface"/>
</request>
+ <request name="show_grid">
+ <arg name="surface" type="object" interface="wl_surface"/>
+ </request>
+
+ <request name="show_panels">
+ <arg name="surface" type="object" interface="wl_surface"/>
+ </request>
+
<request name="create_client">
<arg name="id" type="new_id" interface="meego_tablet_client"/>
<arg name="name" type="string"/>