Skip to content

Commit

Permalink
fix: set initial state withdrawn wm hint (fixes #2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyjoost committed Oct 9, 2024
1 parent b05810d commit 0d430ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x11.cc
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ 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;
wmHint.initial_state = WithdrawnState;
} else {
wmHint.initial_state = NormalState;
}
Expand Down

0 comments on commit 0d430ed

Please sign in to comment.