mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
This commit delegates the calculation for menu position into wlroots utilities for xdg_positioner. Notable functional changes are: - Slide the menu to fit in the output when it's opened out of the output (e.g. top-left window menu is opened when the window is overflowing to the left), rather than not updating the menu at all. - The horizontal alignment of menus is now determined based on the size of each (sub)menu alone rather than the total width of entire menu tree. This means submenus can now overlap with is parents, but this is no longer a problem since we recently added support for menu borders. - Fixed that pipemenus always follow the alignment of its parent even when it overflows from the output. |
||
|---|---|---|
| .. | ||
| menu.h | ||