mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-12 13:29:55 -05:00
Add an orange pop-up menu to test the new map_transient request
This commit is contained in:
parent
8dc378ff76
commit
248c1b61ce
10 changed files with 140 additions and 20 deletions
|
|
@ -127,8 +127,16 @@ typedef void (*display_global_handler_t)(struct display *display,
|
|||
uint32_t version);
|
||||
|
||||
struct window *
|
||||
window_create(struct display *display, const char *title,
|
||||
int32_t width, int32_t height);
|
||||
window_create(struct display *display, int32_t width, int32_t height);
|
||||
struct window *
|
||||
window_create_transient(struct display *display, struct window *parent,
|
||||
int32_t x, int32_t y, int32_t width, int32_t height);
|
||||
|
||||
void
|
||||
window_destroy(struct window *window);
|
||||
|
||||
void
|
||||
window_set_title(struct window *window, const char *title);
|
||||
|
||||
void
|
||||
window_move(struct window *window, struct input *input, uint32_t time);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue