From dec76580c4847e2d3babec7f50dce4650829b69c Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Mon, 21 May 2012 16:47:46 +0300 Subject: [PATCH] window: send transient flags over the wire Signed-off-by: Tiago Vignatti --- clients/window.c | 4 ++-- clients/window.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index d7b2e5c2..5c4d28b7 100644 --- a/clients/window.c +++ b/clients/window.c @@ -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; } diff --git a/clients/window.h b/clients/window.h index bcb7d62c..162cc344 100644 --- a/clients/window.h +++ b/clients/window.h @@ -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);