diff options
-rw-r--r-- | compositor/meego-tablet-shell.c | 18 | ||||
-rw-r--r-- | protocol/meego-tablet.xml | 8 |
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"/> |