wayland: implement transient hints for wayland clients

wl_shell supports a set_transient() map request that is equivalent
to setting WM_TRANSIENT_FOR in X11, so implement that.

https://bugzilla.gnome.org/show_bug.cgi?id=707401
This commit is contained in:
Giovanni Campagna
2013-09-16 14:44:37 +02:00
parent 12d6c70000
commit 81d9797544
5 changed files with 102 additions and 71 deletions

View File

@ -75,6 +75,7 @@ typedef enum {
typedef struct
{
MetaWaylandSurfaceType initial_type;
struct wl_resource *transient_for;
char *title;
char *wm_class;