Get's the x and y position to display a menu for a dock item.
| hovered | the item that is hovered | 
| requisition | the menu's requisition | 
| x | the resulting x position | 
| y | the resulting y position |