summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2023-06-27 09:05:47 +0100
committerDaniel Stone <daniels@collabora.com>2023-07-04 15:52:21 +0100
commit7d2c5e0c33798bb978948d2b57072784a4da8d11 (patch)
treefa2b412cee071a618d41190fda7d027e90a068d5 /include
parentf39b1e9fbd87602942264c04cb6501bc4e0cdbb4 (diff)
view: Add weston_view_set_alpha()
Does what it says on the box: sets the view's alpha, also inflicting damage where required. Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/libweston/libweston.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h
index de4f56a2..2e6b8f79 100644
--- a/include/libweston/libweston.h
+++ b/include/libweston/libweston.h
@@ -2034,6 +2034,9 @@ void
notify_modifiers(struct weston_seat *seat, uint32_t serial);
void
+weston_view_set_alpha(struct weston_view *view, float alpha);
+
+void
weston_view_move_to_layer(struct weston_view *view,
struct weston_layer_entry *layer);