mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-02 17:48:00 +02:00
window: send transient flags over the wire
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
parent
de7d66f36b
commit
dec76580c4
2 changed files with 3 additions and 3 deletions
|
|
@ -2695,7 +2695,7 @@ window_create(struct display *display)
|
|||
|
||||
struct window *
|
||||
window_create_transient(struct display *display, struct window *parent,
|
||||
int32_t x, int32_t y)
|
||||
int32_t x, int32_t y, uint32_t flags)
|
||||
{
|
||||
struct window *window;
|
||||
|
||||
|
|
@ -2710,7 +2710,7 @@ window_create_transient(struct display *display, struct window *parent,
|
|||
if (display->shell)
|
||||
wl_shell_surface_set_transient(window->shell_surface,
|
||||
window->parent->shell_surface,
|
||||
window->x, window->y, 0);
|
||||
window->x, window->y, flags);
|
||||
|
||||
return window;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ struct window *
|
|||
window_create(struct display *display);
|
||||
struct window *
|
||||
window_create_transient(struct display *display, struct window *parent,
|
||||
int32_t x, int32_t y);
|
||||
int32_t x, int32_t y, uint32_t flags);
|
||||
|
||||
typedef void (*menu_func_t)(struct window *window, int index, void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue