xdg-shell: Rename set_transient_for to set_parent
It's a confusing name that comes from the ICCCM. The ICCCM is best
forgotten about.
With the addition of the potential new "transient" role meaning a
parent-relative toplevel like a long-lived popup, used for e.g.
tooltips, the set_transient_for name will become even more confusing.
diff --git a/clients/window.h b/clients/window.h
index 4e4ccc1..5cf6b3e 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -275,9 +275,9 @@
window_create_custom(struct display *display);
void
-window_set_transient_for(struct window *window, struct window *parent_window);
+window_set_parent(struct window *window, struct window *parent_window);
struct window *
-window_get_transient_for(struct window *window);
+window_get_parent(struct window *window);
int
window_has_focus(struct window *window);