clients: Add window_is_transient() helper to the toy toolkit window
diff --git a/clients/window.c b/clients/window.c
index a201ebb..0b40edb 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3976,6 +3976,12 @@
 	return window->type == TYPE_FULLSCREEN;
 }
 
+int
+window_is_transient(struct window *window)
+{
+	return window->type == TYPE_TRANSIENT;
+}
+
 static void
 configure_request_completed(void *data, struct wl_callback *callback, uint32_t  time)
 {
diff --git a/clients/window.h b/clients/window.h
index 63ed788..777bfbc 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -358,6 +358,9 @@
 window_set_buffer_type(struct window *window, enum window_buffer_type type);
 
 int
+window_is_transient(struct window *window);
+
+int
 window_is_fullscreen(struct window *window);
 
 void