diff options
author | Javier <dev.git@javispedro.com> | 2015-01-25 19:22:46 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-01-25 19:22:46 +0100 |
commit | c4cfa03d3a154d6f20845a46caf6726c6fd96105 (patch) | |
tree | 5ee8562756b74ffc54996e50dd090ce73b2c7877 /libmdock | |
parent | d7504a402ee7e978421f674ec3c2180997298ee5 (diff) | |
download | mdock-c4cfa03d3a154d6f20845a46caf6726c6fd96105.tar.gz mdock-c4cfa03d3a154d6f20845a46caf6726c6fd96105.zip |
fix vertical orientation popup positioning
Diffstat (limited to 'libmdock')
-rw-r--r-- | libmdock/mdock-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdock/mdock-widget.c b/libmdock/mdock-widget.c index cd71999..5fc7933 100644 --- a/libmdock/mdock-widget.c +++ b/libmdock/mdock-widget.c @@ -161,7 +161,7 @@ static void show_item_popup(MDockWidget *self, MDockItem *item) y = item_y + item_h; } } else { - y = item_y + item_y / 2 - requisition.height / 2; + y = item_y + item_h / 2 - requisition.height / 2; if (item_x > (monitor.x + monitor.width / 2)) { x = item_x - requisition.width; } else { |