diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-05 16:47:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-05 16:47:39 +0000 |
| commit | acf6273feba6a8d5a5a26b33e895715d6f78fb9e (patch) | |
| tree | 52e2244c65bea9ab1ad5b69835487daf76c6d237 /openbox/popup.c | |
| parent | 7736fcc4b69af5847d711e90d008e05b5c4c4f26 (diff) | |
revert that, center the popups for move/resize and keychains
Diffstat (limited to 'openbox/popup.c')
| -rw-r--r-- | openbox/popup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/popup.c b/openbox/popup.c index 3924a4d1..2fb275ca 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -183,11 +183,9 @@ void popup_delay_show(ObPopup *self, gulong usec, gchar *text) 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; |
