summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2017-01-18 15:02:27 +0000
committerGitHub <[email protected]>2017-01-18 15:02:27 +0000
commit0350bcf252e202fce0d67e04a26721cc606f02ce (patch)
tree0ee184fd169058c4d63c561211243ee5749c5a13 /src/gs-window-x11.c
parent00b0f944837025b61bdffd893d4614ed1d5e7dde (diff)
parent3881a6e4c2fdbb2c072d06d8b33e46d444d2e0c3 (diff)
downloadmate-screensaver-0350bcf252e202fce0d67e04a26721cc606f02ce.tar.bz2
mate-screensaver-0350bcf252e202fce0d67e04a26721cc606f02ce.tar.xz
Merge pull request #112 from hao-lee/master
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 f87ccf9..df22ede 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -1509,7 +1509,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)
{