window: send transient flags over the wire

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
dev
Tiago Vignatti 13 years ago committed by Kristian Høgsberg
parent de7d66f36b
commit dec76580c4
  1. 4
      clients/window.c
  2. 2
      clients/window.h

@ -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…
Cancel
Save