window: send transient flags over the wire
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
de7d66f36b
commit
dec76580c4
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user