summaryrefslogtreecommitdiff
path: root/src/surface.c
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2021-12-13 19:54:46 +0100
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2021-12-13 19:54:46 +0100
commit03a34f2de89648e8b30afcce27ac17f56f12bae0 (patch)
tree966196f4dcd2f6434ef339990dec3df6e1553f32 /src/surface.c
parent2f606b50fb216a31df7e6717aae733970ba3e650 (diff)
downloadwlclock-03a34f2de89648e8b30afcce27ac17f56f12bae0.tar.gz
wlclock-03a34f2de89648e8b30afcce27ac17f56f12bae0.tar.bz2
Minor code cleanup
Diffstat (limited to 'src/surface.c')
-rw-r--r--src/surface.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/surface.c b/src/surface.c
index 79c8b6b..e3b16cb 100644
--- a/src/surface.c
+++ b/src/surface.c
@@ -202,16 +202,3 @@ void destroy_surface (struct Wlclock_surface *surface)
free(surface);
}
-void update_all_hands (void)
-{
- clocklog(1, "[surface] Updating all hands.\n");
- struct Wlclock_output *op, *tmp;
- wl_list_for_each_safe(op, tmp, &context.outputs, link)
- if ( op->surface != NULL )
- {
- render_hands_frame(op->surface);
- wl_surface_commit(op->surface->hands_surface);
- wl_surface_commit(op->surface->background_surface);
- }
-}
-