meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels

dev
Kristian Høgsberg 14 years ago
parent 8050bd217f
commit 92fb0e9e39
  1. 18
      compositor/meego-tablet-shell.c
  2. 8
      protocol/meego-tablet.xml

@ -316,6 +316,22 @@ tablet_shell_set_homescreen(struct wl_client *client,
fprintf(stderr, "set home screen\n");
}
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)
{
@ -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
};

@ -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"/>

Loading…
Cancel
Save