summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
authorHao Lee <[email protected]>2017-01-17 17:28:49 +0800
committerHao Lee <[email protected]>2017-01-17 17:28:49 +0800
commit3881a6e4c2fdbb2c072d06d8b33e46d444d2e0c3 (patch)
treef739339d48f0be4a1c3b14e543ca2828b2d47cb4 /src/gs-window-x11.c
parent2197434c213600c42b264602c4331eac7761db11 (diff)
downloadmate-screensaver-3881a6e4c2fdbb2c072d06d8b33e46d444d2e0c3.tar.bz2
mate-screensaver-3881a6e4c2fdbb2c072d06d8b33e46d444d2e0c3.tar.xz
Change shake times to even number, so the dialog can return to its original position.
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 87eac00..7060591 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -1496,7 +1496,7 @@ shake_dialog (GSWindow *window)
window->priv->dialog_shake_in_progress = TRUE;
- for (i = 0; i < 9; i++)
+ for (i = 0; i < 8; i++)
{
if (i % 2 == 0)
{