summaryrefslogtreecommitdiff
path: root/desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch')
-rw-r--r--desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch b/desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch
new file mode 100644
index 0000000000..a23663ab64
--- /dev/null
+++ b/desktop/cairo-clock/patches/cairo-clock-check-refresh-rate-fix.patch
@@ -0,0 +1,13 @@
+--- src/cairo-clock.c.orig 2018-04-07 10:47:48.240014958 +0200
++++ src/cairo-clock.c 2018-04-07 10:48:12.998016063 +0200
+@@ -1423,8 +1423,8 @@
+ g_iDefaultY >= gdk_screen_get_height (gdk_screen_get_default ()))
+ g_iDefaultY = 0;
+
+- if (g_iRefreshRate <= MIN_REFRESH_RATE ||
+- g_iRefreshRate >= MAX_REFRESH_RATE)
++ if (g_iRefreshRate < MIN_REFRESH_RATE ||
++ g_iRefreshRate > MAX_REFRESH_RATE)
+ g_iRefreshRate = 30;
+ }
+ else