From f5c2d6d3798fdc70c8bbc5d8205cf20e2b2a7cd3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Feb 2008 22:49:55 -0500 Subject: Make ObPrompt windows get managed as clients, and make them able to reconfigure as well. --- openbox/prompt.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbox/prompt.h') diff --git a/openbox/prompt.h b/openbox/prompt.h index deef3f21..8d996ef3 100644 --- a/openbox/prompt.h +++ b/openbox/prompt.h @@ -44,7 +44,7 @@ struct _ObPrompt RrAppearance *a_bg; gboolean mapped; - gint x, y, width, height; + gint width, height; gint msg_wbound; ObPromptElement msg; @@ -62,7 +62,8 @@ void prompt_ref(ObPrompt *self); void prompt_unref(ObPrompt *self); /*! Show the prompt. It will be centered within the given area rectangle */ -void prompt_show(ObPrompt *self, const Rect *area); +void prompt_show(ObPrompt *self, struct _ObClient *parent); void prompt_hide(ObPrompt *self); +void prompt_hide_window(Window window); #endif -- cgit v1.2.3