diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-06 22:49:55 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-07 02:14:44 -0500 |
| commit | f5c2d6d3798fdc70c8bbc5d8205cf20e2b2a7cd3 (patch) | |
| tree | 278cf4a1843baa2c79c6fd2ee10110722c9845c6 /openbox/prompt.h | |
| parent | 84f1f2be1271bd5f5cf8f92d1cc3a56851c688e8 (diff) | |
Make ObPrompt windows get managed as clients, and make them able to reconfigure as well.
Diffstat (limited to 'openbox/prompt.h')
| -rw-r--r-- | openbox/prompt.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
