all repos — openbox @ acf6273feba6a8d5a5a26b33e895715d6f78fb9e

openbox fork - make it a bit more like ryudo

revert that, center the popups for move/resize and keychains
Dana Jansens danakj@orodu.net
commit

acf6273feba6a8d5a5a26b33e895715d6f78fb9e

parent

7736fcc4b69af5847d711e90d008e05b5c4c4f26

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M openbox/keyboard.copenbox/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.copenbox/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.copenbox/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;