aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-03 18:15:57 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-03 18:15:57 +0200
commit6d4f639c9c0abd3f39e4382f2be3a9d2d56a3104 (patch)
treeb0f21df1e5310fb2be0321c06b54d4404f905821
parente099547cfa2038b9a2b09585521f7f258fc75724 (diff)
Fix compile error
-rw-r--r--src/window/window.c4
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);