summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-30 01:25:54 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-30 01:27:07 +0200
commit47c9525667713a3eb123b005ffb7c8e1fdc86c1a (patch)
treebce3b2af11c010c9f8368fcf5906e3eedd8f5e2d
parentaffa688b44a522948ece0962cea5e14c79f65ba7 (diff)
downloadwlclock-47c9525667713a3eb123b005ffb7c8e1fdc86c1a.tar.gz
wlclock-47c9525667713a3eb123b005ffb7c8e1fdc86c1a.tar.bz2
Bump versiont to v1.0.0
-rw-r--r--README.md4
-rw-r--r--doc/wlclock.1.scd2
-rw-r--r--meson.build4
-rw-r--r--src/wlclock.c5
4 files changed, 6 insertions, 9 deletions
diff --git a/README.md b/README.md
index aac7f99..b22a657 100644
--- a/README.md
+++ b/README.md
@@ -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;