aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-22 15:11:12 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit9da295c11f90dcfbf254ccf23b9124c87ccd8ddf (patch)
tree328cf15feeccd8bdc90f1205542857ab34afeaa2 /include/sway/tree/view.h
parent09e11dabb203513c038b723e50de2fd836e7edb3 (diff)
scene_graph: Implement toplevel clipping
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 80097dd3..3e5a9bfe 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -274,7 +274,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
void view_unmap(struct sway_view *view);
void view_update_size(struct sway_view *view);
-void view_center_surface(struct sway_view *view);
+void view_center_and_clip_surface(struct sway_view *view);
struct sway_view *view_from_wlr_xdg_surface(
struct wlr_xdg_surface *xdg_surface);