diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-09-09 13:52:18 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-01-21 18:39:23 +0000 |
commit | b3544c26ad3bdb2f6c41b6fb9e642dce4d0d3551 (patch) | |
tree | 635ee6668fe25e71cc173abe56c9c58f93162104 /clients/content_protection.c | |
parent | 713f02327d6c3d1c34f768282034989c1b6769d9 (diff) | |
download | weston-b3544c26ad3bdb2f6c41b6fb9e642dce4d0d3551.tar.gz |
clients/window: Add functions to set/retrieve app_id
Adds appid for all clients using the toolkit, flower, fullscreen, image,
resizor, scaler, smoke, stacking, subsurfaces, terminal,
touch-calibrator, transformed, etc.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'clients/content_protection.c')
-rw-r--r-- | clients/content_protection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clients/content_protection.c b/clients/content_protection.c index 0a3e98f5..6a5c63c7 100644 --- a/clients/content_protection.c +++ b/clients/content_protection.c @@ -367,7 +367,9 @@ int main(int argc, char *argv[]) pc_player->enforced = create_button(pc_player, str_type_enforced); pc_player->relaxed = create_button(pc_player, str_type_relaxed); - window_set_title(pc_player->window, "Player"); + window_set_title(pc_player->window, "Weston Content Protection"); + window_set_appid(pc_player->window, + "org.freedesktop.weston.weston-content-protection"); widget_set_redraw_handler(pc_player->widget, redraw_handler); widget_set_resize_handler(pc_player->widget, resize_handler); window_schedule_resize(pc_player->window, WIDTH, HEIGHT); |