summaryrefslogtreecommitdiff
path: root/clients/window.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-12-09 15:26:25 -0500
committerKristian Høgsberg <krh@bitplanet.net>2014-02-01 01:53:05 -0800
commit53686048ccb9836c1e36d32d36e788d49239a634 (patch)
tree4d3488648a6f0d5167c28012efa8fe8e48a623c5 /clients/window.h
parent0790e3978a771328b276cf5ee73fcf31a41fa051 (diff)
downloadweston-53686048ccb9836c1e36d32d36e788d49239a634.tar.gz
window: Add wrappers for xdg_surface_set_transient_for
Diffstat (limited to 'clients/window.h')
-rw-r--r--clients/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clients/window.h b/clients/window.h
index 357ecdc3..7ec35375 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -272,6 +272,11 @@ window_create(struct display *display);
struct window *
window_create_custom(struct display *display);
+void
+window_set_transient_for(struct window *window, struct window *parent_window);
+struct window *
+window_get_transient_for(struct window *window);
+
int
window_has_focus(struct window *window);