properly place the msg texture
authorDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 03:53:43 +0000 (22:53 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 07:14:44 +0000 (02:14 -0500)
openbox/prompt.c

index ea440e9..dc6b284 100644 (file)
@@ -282,7 +282,7 @@ static void render_all(ObPrompt *self)
 
     prompt_a_msg->surface.parent = self->a_bg;
     prompt_a_msg->surface.parentx = self->msg.x;
-    prompt_a_msg->surface.parentx = self->msg.y;
+    prompt_a_msg->surface.parenty = self->msg.y;
 
     prompt_a_msg->texture[0].data.text.string = self->msg.text;
     prompt_a_msg->texture[0].data.text.maxwidth = self->msg_wbound;