diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | doc/wlclock.1.scd | 2 | ||||
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | src/wlclock.c | 5 |
4 files changed, 6 insertions, 9 deletions
@@ -2,8 +2,8 @@ wlclock is a digital analog clock for Wayland desktops. -wlclock is inspired by xclock(1) and the default configuration has been chosen -to mimic it. However unlike xclock, wlclock is not a regular window but a +wlclock is inspired by xclock and the default configuration has been chosen to +mimic it. However unlike xclock, wlclock is not a regular window but a desktop-widget. A Wayland compositor must implement the Layer-Shell and XDG-Output for wlclock diff --git a/doc/wlclock.1.scd b/doc/wlclock.1.scd index 8641d66..88a093e 100644 --- a/doc/wlclock.1.scd +++ b/doc/wlclock.1.scd @@ -1,4 +1,4 @@ -wlclock(1) ["Version 0.1.0" ["Version 0.1.0"]] +wlclock(1) ["Version 1.0.0" ["Version 1.0.0"]] # NAME wlclock - A digital analog clock for Wayland diff --git a/meson.build b/meson.build index f5ee332..e7ab904 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'wlclock', 'c', - version: '0.1.0', + version: '1.0.0', license: 'GPLv3', default_options: [ 'c_std=c11', @@ -14,7 +14,7 @@ cc = meson.get_compiler('c') add_project_arguments(cc.get_supported_arguments([ '-D_POSIX_C_SOURCE=200809L', - '-DVERSION="0.1.0"', + '-DVERSION="1.0.0"', '-fsigned-char', '-Wno-unused-parameter', '-Wpointer-arith', diff --git a/src/wlclock.c b/src/wlclock.c index 35dffc7..fd23d19 100644 --- a/src/wlclock.c +++ b/src/wlclock.c @@ -495,9 +495,6 @@ static void clock_run (struct Wlclock *clock) clocklog(clock, 1, "[main] Starting loop.\n"); clock->ret = EXIT_SUCCESS; - // TODO simpler event loop, other signal handling - // while ( wl_display_dispatch(clock->display) != -1 ); - struct pollfd fds[2] = { 0 }; size_t wayland_fd = 0; size_t signal_fd = 1; @@ -545,7 +542,7 @@ static void clock_run (struct Wlclock *clock) int ret = poll(fds, 2, get_timeout()); - if ( ret == 0 ) + if ( ret == 0 ) /* Timeout -> update clock hands. */ { update_all_hands(clock); continue; |