From 6d4f639c9c0abd3f39e4382f2be3a9d2d56a3104 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 3 Aug 2024 18:15:57 +0200 Subject: Fix compile error --- src/window/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window/window.c') 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); -- cgit v1.2.3