t-8ch / pinentry-bemenu

Pinentry based on bemenu
GNU General Public License v3.0
49 stars 3 forks source link

Fix --bottom, add --center #15

Closed maribu closed 1 year ago

maribu commented 1 year ago

This PR contains two commits. The first fixes the --bottom implementation (so that the build system can actually enable the feature). The second adds support for the new bm_menu_set_align() interface that replaced bm_menu_set_bottom() of older releases to implement --bottom and --center. Hence, --bottom should now work with both older and current releases of bemenu, but --center will only work when bm_menu_set_align() is available.