summaryrefslogtreecommitdiff
path: root/src/surface.c
diff options
context:
space:
mode:
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");