meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 4 May 2011 20:16:43 +0000 (16:16 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 May 2011 20:16:43 +0000 (16:16 -0400)
compositor/meego-tablet-shell.c
protocol/meego-tablet.xml

index 12cb440..3c3eec6 100644 (file)
@@ -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
 };
 
index 9815b88..feceb6b 100644 (file)
       <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"/>