summaryrefslogtreecommitdiff
path: root/src/wlclock.c
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 12:20:47 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 12:20:47 +0200
commit09ac1ee69f213461299d965a7903f73e46a644fe (patch)
treeea0d4fcc0be153c6fa49619158d3a9540c150654 /src/wlclock.c
parentf53c7341152bbc4b642935953e317a2a29abc99c (diff)
downloadwlclock-09ac1ee69f213461299d965a7903f73e46a644fe.tar.gz
wlclock-09ac1ee69f213461299d965a7903f73e46a644fe.tar.bz2
Draw clock face
Diffstat (limited to '')
-rw-r--r--src/wlclock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wlclock.c b/src/wlclock.c
index 53dd7e3..3a8d1f6 100644
--- a/src/wlclock.c
+++ b/src/wlclock.c
@@ -470,7 +470,8 @@ static void clock_run (struct Wlclock *clock)
if ( ret == 0 )
{
- update_all_surfaces(clock);
+ clock->now = time(NULL);
+ // TODO update clock hands
continue;
}
else if ( ret < 0 )