diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-06 22:49:55 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-14 14:24:07 -0500 |
| commit | 457fdc5ccbb65dc4b5e6cd972e048e3218527b91 (patch) | |
| tree | 261d962a4340b9a704e0a9cf6ba1d5ba06c5d6b7 /openbox/prompt.h | |
| parent | 974e88581fcab366579d5dd682713aa6deb752a9 (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 6b27b8d8..8d0bc988 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 |
