diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-04 22:19:14 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-06 11:41:55 -0500 |
commit | b3cca0a41130ff45b70b730cb8f2273dd91531a5 (patch) | |
tree | d5e194f60ec466f2daa9bbcb1be17331dce3e3c4 /clients/window.h | |
parent | dade64968ca00d31db24d3d8909cdf37699f842c (diff) |
shell: Start implementing the popup surface type
This lands the basic behavior of the popup surface type, but there are still
a number of details to be worked out. Mainly there's a hardcoded timeout
to handle the case of releasing the popup button outside any of the
client windows, which triggers popup_end if it happens after the timeout.
Maybe we just need to add that as an argument, or we could add a new event
that fires in this case to let the client decide whether it ends the popup
or not.
Diffstat (limited to 'clients/window.h')
-rw-r--r-- | clients/window.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/window.h b/clients/window.h index 75bafc1..f1bad3f 100644 --- a/clients/window.h +++ b/clients/window.h @@ -203,7 +203,8 @@ struct window * window_create_transient(struct display *display, struct window *parent, int32_t x, int32_t y, int32_t width, int32_t height); struct window * -window_create_menu(struct display *display, struct window *parent, +window_create_menu(struct display *display, + struct input *input, uint32_t time, struct window *parent, int32_t x, int32_t y, const char **entries, int count); void |