summaryrefslogtreecommitdiff
path: root/openbox/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/prompt.c')
-rw-r--r--openbox/prompt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/prompt.c b/openbox/prompt.c
index b10d8a18..e73545a5 100644
--- a/openbox/prompt.c
+++ b/openbox/prompt.c
@@ -269,9 +269,8 @@ static void prompt_layout(ObPrompt *self)
b += OUTSIDE_MARGIN;
{
- Rect *area = screen_physical_area_all_monitors();
+ Rect const *area = screen_physical_area_all_monitors();
maxw = MIN(MAX_WIDTH, area->width*4/5);
- g_free(area);
}
/* find the button sizes and how much space we need for them */