summaryrefslogtreecommitdiff
path: root/plugins/media-keys
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/media-keys')
-rw-r--r--plugins/media-keys/msd-media-keys-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/media-keys/msd-media-keys-window.c b/plugins/media-keys/msd-media-keys-window.c
index 0f6eff6..912b2b8 100644
--- a/plugins/media-keys/msd-media-keys-window.c
+++ b/plugins/media-keys/msd-media-keys-window.c
@@ -490,9 +490,9 @@ draw_action_volume (MsdMediaKeysWindow *window,
volume_box_height = round (window_height * 0.05);
icon_box_x0 = (window_width - icon_box_width) / 2;
- icon_box_y0 = (window_height - icon_box_height - volume_box_height) / 2;
+ icon_box_y0 = (window_height - icon_box_height) / 2;
volume_box_x0 = round (icon_box_x0);
- volume_box_y0 = round (icon_box_height + icon_box_y0);
+ volume_box_y0 = round (window_height - icon_box_y0 / 2 - volume_box_height);
#if 0
g_message ("icon box: w=%f h=%f _x0=%f _y0=%f",