summaryrefslogtreecommitdiff
path: root/src/surface.c
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-10-05 21:18:02 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-10-05 21:18:55 +0200
commitc1b4c23806582da93d352779cf25d54549f0a9e8 (patch)
tree638526516fe51e975d49b0c228fd2cea87121df3 /src/surface.c
parent47c9525667713a3eb123b005ffb7c8e1fdc86c1a (diff)
downloadwlclock-c1b4c23806582da93d352779cf25d54549f0a9e8.tar.gz
wlclock-c1b4c23806582da93d352779cf25d54549f0a9e8.tar.bz2
Remove unused surface functions
Diffstat (limited to 'src/surface.c')
-rw-r--r--src/surface.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/surface.c b/src/surface.c
index ea4387d..106460a 100644
--- a/src/surface.c
+++ b/src/surface.c
@@ -192,15 +192,6 @@ void destroy_surface (struct Wlclock_surface *surface)
free(surface);
}
-void destroy_all_surfaces (struct Wlclock *clock)
-{
- clocklog(clock, 1, "[surface] Destroying all surfaces.\n");
- struct Wlclock_output *op, *tmp;
- wl_list_for_each_safe(op, tmp, &clock->outputs, link)
- if ( op->surface != NULL )
- destroy_surface(op->surface);
-}
-
void update_surface (struct Wlclock_surface *surface)
{
if ( surface == NULL || ! surface->configured )
@@ -213,15 +204,6 @@ void update_surface (struct Wlclock_surface *surface)
wl_surface_commit(surface->background_surface);
}
-void update_all_surfaces (struct Wlclock *clock)
-{
- clocklog(clock, 1, "[surface] Updating all surfaces.\n");
- struct Wlclock_output *op, *tmp;
- wl_list_for_each_safe(op, tmp, &clock->outputs, link)
- if ( op->surface != NULL )
- update_surface(op->surface);
-}
-
void update_all_hands (struct Wlclock *clock)
{
clocklog(clock, 1, "[surface] Updating all hands.\n");