revert that, center the popups for move/resize and keychains
Dana Jansens danakj@orodu.net
3 files changed,
4 insertions(+),
4 deletions(-)
M
openbox/keyboard.c
→
openbox/keyboard.c
@@ -330,6 +330,7 @@ void keyboard_startup(gboolean reconfig)
{ grab_keys(TRUE); popup = popup_new(FALSE); + popup_set_text_align(popup, RR_JUSTIFY_CENTER); if (!reconfig) client_add_destroy_notify(keyboard_interactive_end_client, NULL);
M
openbox/moveresize.c
→
openbox/moveresize.c
@@ -68,6 +68,7 @@
void moveresize_startup(gboolean reconfig) { popup = popup_new(FALSE); + popup_set_text_align(popup, RR_JUSTIFY_CENTER); if (!reconfig) client_add_destroy_notify(client_dest, NULL);
M
openbox/popup.c
→
openbox/popup.c
@@ -183,11 +183,9 @@ if (self->h)
texth = self->h - emptyy; h = texth * self->iconhm + emptyy; - if (self->textw) { - self->a_text->texture[0].data.text.justify = RR_JUSTIFY_LEFT; + if (self->textw) textw = self->textw; - } else - self->a_text->texture[0].data.text.justify = RR_JUSTIFY_CENTER; + else iconx = textx = l + ob_rr_theme->paddingx;