[PATCH weston 4/8] window: send transient flags over the wire
Tiago Vignatti
tiago.vignatti at intel.com
Mon May 7 05:23:10 PDT 2012
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
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 2dcf421..61713ca 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2294,7 +2294,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;
@@ -2309,7 +2309,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 a2a7880..9c45fbd 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -196,7 +196,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);
--
1.7.9.5
More information about the wayland-devel
mailing list