diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window/window.c b/src/window/window.c index 6ed409a..8ba9f8e 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -513,8 +513,8 @@ static void mgl_set_window_type(mgl_window *self, mgl_window_type window_type) { } case MGL_WINDOW_TYPE_NOTIFICATION: { const Atom data[2] = { - self->net_wm_window_type_notification_atom; - self->net_wm_window_type_utility; + x11_context->net_wm_window_type_notification_atom, + x11_context->net_wm_window_type_utility }; XChangeProperty(context->connection, self->window, x11_context->net_wm_window_type_atom, XA_ATOM, 32, PropModeReplace, (const unsigned char*)data, 2L); XChangeProperty(context->connection, self->window, x11_context->net_wm_state_atom, XA_ATOM, 32, PropModeReplace, (unsigned char*)&x11_context->net_wm_state_above_atom, 1L); |