diff --git a/src/x11.cc b/src/x11.cc index f44d5d52d..db6c7a5ac 100644 --- a/src/x11.cc +++ b/src/x11.cc @@ -640,7 +640,9 @@ void x11_init_window(lua::state &l, bool own) { #endif /* BUILD_XSHAPE */ if (own_window_type.get(l) == window_type::DOCK || own_window_type.get(l) == window_type::PANEL) { - // wmHint.initial_state = WithdrawnState; + // Docks and panels MUST have WithdrawnState initially + // See: https://github.com/brndnmtthws/conky/issues/2046 + wmHint.initial_state = WithdrawnState; } else { wmHint.initial_state = NormalState; }