diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c index 6882bcd..b0d1235 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -636,6 +636,10 @@ static int mgl_window_init(mgl_window *self, const char *title, const mgl_window XSetClassHint(context->connection, self->window, &class_hint); } + if(params && params->transient_for_window) { + XSetTransientForHint(context->connection, self->window, params->transient_for_window); + } + mgl_window_type window_type = params ? params->window_type : MGL_WINDOW_TYPE_NORMAL; mgl_set_window_type(self, window_type); |